Sdílet prostřednictvím


GLSurfaceView.RequestRender Method

Definition

Request that the renderer render a frame.

[Android.Runtime.Register("requestRender", "()V", "GetRequestRenderHandler")]
public virtual void RequestRender ();
[<Android.Runtime.Register("requestRender", "()V", "GetRequestRenderHandler")>]
abstract member RequestRender : unit -> unit
override this.RequestRender : unit -> unit
Attributes

Remarks

Request that the renderer render a frame. This method is typically used when the render mode has been set to #RENDERMODE_WHEN_DIRTY, so that frames are only rendered on demand. May be called from any thread. Must not be called before a renderer has been set.

Java documentation for android.opengl.GLSurfaceView.requestRender().

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