Android.Opengl.GLSurfaceView Members

The members of Android.Opengl.GLSurfaceView are listed below.

See Also: Inherited members from Android.Views.SurfaceView

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
DebugCheckGlErrorDebugFlags (1). Check glError() after every GL call and throw an exception if glError indicates that an error has occurred.
const
DebugLogGlCallsDebugFlags (2). Log GL calls to the system log at "verbose" level with tag "GLSurfaceView".
const
RendermodeContinuouslyRendermode (1). The renderer is called continuously to re-render the scene.
const
RendermodeWhenDirtyRendermode (0). The renderer only renders when the surface is created, or when GLSurfaceView.RequestRender is called.

Public Properties

DebugFlagsDebugFlags. Get the current value of the debug flags.
PreserveEGLContextOnPausebool.
RenderModeRendermode. Get the current rendering mode.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnPause()
Inform the view that the activity is paused.
OnResume()
Inform the view that the activity is resumed.
QueueEvent(Java.Lang.IRunnable)
Queue a runnable to be run on the GL rendering thread.
QueueEvent(Action)
Documentation for this section has not yet been entered.
RequestRender()
Request that the renderer render a frame.
SetEGLConfigChooser(GLSurfaceView.IEGLConfigChooser)
Install a custom EGLConfigChooser.
SetEGLConfigChooser(bool)
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(int, int, int, int, int, int)
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.
SetEGLContextClientVersion(int)
Inform the default EGLContextFactory and default EGLConfigChooser which EGLContext client version to pick.
SetEGLContextFactory(GLSurfaceView.IEGLContextFactory)
Install a custom EGLContextFactory.
SetEGLWindowSurfaceFactory(GLSurfaceView.IEGLWindowSurfaceFactory)
Install a custom EGLWindowSurfaceFactory.
SetGLWrapper(GLSurfaceView.IGLWrapper)
Set the glWrapper.
SetRenderer(GLSurfaceView.IRenderer)
Set the renderer associated with this view.
SurfaceChanged(Android.Views.ISurfaceHolder, Android.Graphics.Format, int, int)
This method is part of the SurfaceHolder.
SurfaceCreated(Android.Views.ISurfaceHolder)
This method is part of the SurfaceHolder.
SurfaceDestroyed(Android.Views.ISurfaceHolder)
This method is part of the SurfaceHolder.