Android Guides | Samples

Android.Opengl.GLSurfaceView.SetGLWrapper Method

Set the glWrapper.

Syntax

[Android.Runtime.Register("setGLWrapper", "(Landroid/opengl/GLSurfaceView$GLWrapper;)V", "GetSetGLWrapper_Landroid_opengl_GLSurfaceView_GLWrapper_Handler")]
public virtual Void SetGLWrapper (GLSurfaceView+IGLWrapper glWrapper)

Parameters

glWrapper
the new GLWrapper

Remarks

Set the glWrapper. If the glWrapper is not null, its NoType:android/opengl/GLSurfaceView$GLWrapper;Href=../../../reference/android/opengl/GLSurfaceView.GLWrapper.html#wrap(javax.microedition.khronos.opengles.GL) method is called whenever a surface is created. A GLWrapper can be used to wrap the GL object that's passed to the renderer. Wrapping a GL object enables examining and modifying the behavior of the GL calls made by the renderer.

Wrapping is typically used for debugging purposes.

The default value is null.

[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