Most visited

Recently visited

Added in API level 3

GLSurfaceView.EGLConfigChooser

public static interface GLSurfaceView.EGLConfigChooser

android.opengl.GLSurfaceView.EGLConfigChooser


用于从潜在配置列表中选择EGLConfig配置的接口。

此接口必须由希望致电 setEGLConfigChooser(EGLConfigChooser)客户实施

摘要(Summary)

公共方法(Public methods)

abstract EGLConfig chooseConfig(EGL10 egl, EGLDisplay display)

从列表中选择一个配置。

公共方法(Public methods)

chooseConfig

Added in API level 3
EGLConfig chooseConfig (EGL10 egl, 
                EGLDisplay display)

从列表中选择一个配置。 实现者通常通过调用eglChooseConfig(EGLDisplay, int[], EGLConfig[], int, int[])并遍历结果来实现此方法。 请参考Khronos Group提供的EGL规范来学习如何调用eglChooseConfig。

参数(Parameters)
egl EGL10: the EGL10 for the current display.
display EGLDisplay: the current display.
返回(Returns)
EGLConfig the chosen configuration.

Hooray!