Share via


GLSurfaceView.IEGLConfigChooser.ChooseConfig(IEGL10, EGLDisplay) Method

Definition

Choose a configuration from the list.

[Android.Runtime.Register("chooseConfig", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;)Ljavax/microedition/khronos/egl/EGLConfig;", "GetChooseConfig_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Handler:Android.Opengl.GLSurfaceView/IEGLConfigChooserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Javax.Microedition.Khronos.Egl.EGLConfig? ChooseConfig (Javax.Microedition.Khronos.Egl.IEGL10? egl, Javax.Microedition.Khronos.Egl.EGLDisplay? display);
[<Android.Runtime.Register("chooseConfig", "(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;)Ljavax/microedition/khronos/egl/EGLConfig;", "GetChooseConfig_Ljavax_microedition_khronos_egl_EGL10_Ljavax_microedition_khronos_egl_EGLDisplay_Handler:Android.Opengl.GLSurfaceView/IEGLConfigChooserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ChooseConfig : Javax.Microedition.Khronos.Egl.IEGL10 * Javax.Microedition.Khronos.Egl.EGLDisplay -> Javax.Microedition.Khronos.Egl.EGLConfig

Parameters

egl
IEGL10

the EGL10 for the current display.

display
EGLDisplay

the current display.

Returns

the chosen configuration.

Attributes

Remarks

Choose a configuration from the list. Implementors typically implement this method by calling EGL10#eglChooseConfig and iterating through the results. Please consult the EGL specification available from The Khronos Group to learn how to call eglChooseConfig.

Java documentation for android.opengl.GLSurfaceView.EGLConfigChooser.chooseConfig(javax.microedition.khronos.egl.EGL10, javax.microedition.khronos.egl.EGLDisplay).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to