GLSurfaceView.SetRenderer(GLSurfaceView+IRenderer) Method

Definition

Set the renderer associated with this view.

[Android.Runtime.Register("setRenderer", "(Landroid/opengl/GLSurfaceView$Renderer;)V", "GetSetRenderer_Landroid_opengl_GLSurfaceView_Renderer_Handler")]
public virtual void SetRenderer (Android.Opengl.GLSurfaceView.IRenderer? renderer);
[<Android.Runtime.Register("setRenderer", "(Landroid/opengl/GLSurfaceView$Renderer;)V", "GetSetRenderer_Landroid_opengl_GLSurfaceView_Renderer_Handler")>]
abstract member SetRenderer : Android.Opengl.GLSurfaceView.IRenderer -> unit
override this.SetRenderer : Android.Opengl.GLSurfaceView.IRenderer -> unit

Parameters

renderer
GLSurfaceView.IRenderer

the renderer to use to perform OpenGL drawing.

Attributes

Remarks

Java documentation for android.opengl.GLSurfaceView.setRenderer(android.opengl.Renderer).

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