GLSurfaceView.SetEGLConfigChooser Method

Definition

Overloads

SetEGLConfigChooser(GLSurfaceView+IEGLConfigChooser)

Install a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.

SetEGLConfigChooser(Boolean)

Install a config chooser which will choose a config as close to 16-bit RGB as possible, with or without an optional depth buffer as close to 16-bits as possible.

SetEGLConfigChooser(Int32, Int32, Int32, Int32, Int32, Int32)

Install a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.

SetEGLConfigChooser(GLSurfaceView+IEGLConfigChooser)

Install a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.

[Android.Runtime.Register("setEGLConfigChooser", "(Landroid/opengl/GLSurfaceView$EGLConfigChooser;)V", "GetSetEGLConfigChooser_Landroid_opengl_GLSurfaceView_EGLConfigChooser_Handler")]
public virtual void SetEGLConfigChooser (Android.Opengl.GLSurfaceView.IEGLConfigChooser? configChooser);
[<Android.Runtime.Register("setEGLConfigChooser", "(Landroid/opengl/GLSurfaceView$EGLConfigChooser;)V", "GetSetEGLConfigChooser_Landroid_opengl_GLSurfaceView_EGLConfigChooser_Handler")>]
abstract member SetEGLConfigChooser : Android.Opengl.GLSurfaceView.IEGLConfigChooser -> unit
override this.SetEGLConfigChooser : Android.Opengl.GLSurfaceView.IEGLConfigChooser -> unit

Parameters

Attributes

Remarks

Java documentation for android.opengl.GLSurfaceView.setEGLConfigChooser(int, int, int, int, int, int).

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

SetEGLConfigChooser(Boolean)

Install a config chooser which will choose a config as close to 16-bit RGB as possible, with or without an optional depth buffer as close to 16-bits as possible.

[Android.Runtime.Register("setEGLConfigChooser", "(Z)V", "GetSetEGLConfigChooser_ZHandler")]
public virtual void SetEGLConfigChooser (bool needDepth);
[<Android.Runtime.Register("setEGLConfigChooser", "(Z)V", "GetSetEGLConfigChooser_ZHandler")>]
abstract member SetEGLConfigChooser : bool -> unit
override this.SetEGLConfigChooser : bool -> unit

Parameters

needDepth
Boolean

needDepth

Attributes

Remarks

Install a config chooser which will choose a config as close to 16-bit RGB as possible, with or without an optional depth buffer as close to 16-bits as possible.

If this method is called, it must be called before #setRenderer(Renderer) is called.

If no setEGLConfigChooser method is called, then by default the view will choose an RGB_888 surface with a depth buffer depth of at least 16 bits.

Java documentation for android.opengl.GLSurfaceView.setEGLConfigChooser(boolean).

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

SetEGLConfigChooser(Int32, Int32, Int32, Int32, Int32, Int32)

Install a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.

[Android.Runtime.Register("setEGLConfigChooser", "(IIIIII)V", "GetSetEGLConfigChooser_IIIIIIHandler")]
public virtual void SetEGLConfigChooser (int redSize, int greenSize, int blueSize, int alphaSize, int depthSize, int stencilSize);
[<Android.Runtime.Register("setEGLConfigChooser", "(IIIIII)V", "GetSetEGLConfigChooser_IIIIIIHandler")>]
abstract member SetEGLConfigChooser : int * int * int * int * int * int -> unit
override this.SetEGLConfigChooser : int * int * int * int * int * int -> unit

Parameters

redSize
Int32
greenSize
Int32
blueSize
Int32
alphaSize
Int32
depthSize
Int32
stencilSize
Int32
Attributes

Remarks

Install a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.

If this method is called, it must be called before #setRenderer(Renderer) is called.

If no setEGLConfigChooser method is called, then by default the view will choose an RGB_888 surface with a depth buffer depth of at least 16 bits.

Java documentation for android.opengl.GLSurfaceView.setEGLConfigChooser(int, int, int, int, int, int).

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