# EGL_CONTEXT_TYPE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-eglcontexttype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_eglcontexttype__detailed_desc"></a>

定义了 EGL 上下文的不同类型，对应不同的 OpenGL 接口实现。

<a id="enum_eglcontexttype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="egl_context10"></a>
<Parameter name="EGL_CONTEXT10">

（0）：使用 Khronos 定义的 OpenGL 接口 (`javax.microedition.khronos.egl.*`)。

</Parameter>
<a id="egl_context14"></a>
<Parameter name="EGL_CONTEXT14">

（1）：使用 Android 定义的 OpenGL 接口 (`android.opengl.*`)。

</Parameter>
</ParameterList>
