Android.Opengl.GLSurfaceView.SetEGLConfigChooser Method
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.

Syntax

[Android.Runtime.Register("setEGLConfigChooser", "(IIIIII)V", "GetSetEGLConfigChooser_IIIIIIHandler")]
public virtual void SetEGLConfigChooser (int redSize, int greenSize, int blueSize, int alphaSize, int depthSize, int stencilSize)

Parameters

redSize
Documentation for this section has not yet been entered.
greenSize
Documentation for this section has not yet been entered.
blueSize
Documentation for this section has not yet been entered.
alphaSize
Documentation for this section has not yet been entered.
depthSize
Documentation for this section has not yet been entered.
stencilSize
Documentation for this section has not yet been entered.

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 GLSurfaceView.SetRenderer(.IRenderer) 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.

[Android Documentation]

Requirements

Namespace: Android.Opengl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3