Share via


GLSurfaceView.QueueEvent Method

Definition

Overloads

QueueEvent(IRunnable)

Queue a runnable to be run on the GL rendering thread.

QueueEvent(Action)

QueueEvent(IRunnable)

Queue a runnable to be run on the GL rendering thread.

[Android.Runtime.Register("queueEvent", "(Ljava/lang/Runnable;)V", "GetQueueEvent_Ljava_lang_Runnable_Handler")]
public virtual void QueueEvent (Java.Lang.IRunnable? r);
[<Android.Runtime.Register("queueEvent", "(Ljava/lang/Runnable;)V", "GetQueueEvent_Ljava_lang_Runnable_Handler")>]
abstract member QueueEvent : Java.Lang.IRunnable -> unit
override this.QueueEvent : Java.Lang.IRunnable -> unit

Parameters

r
IRunnable

the runnable to be run on the GL rendering thread.

Attributes

Remarks

Queue a runnable to be run on the GL rendering thread. This can be used to communicate with the Renderer on the rendering thread. Must not be called before a renderer has been set.

Java documentation for android.opengl.GLSurfaceView.queueEvent(java.lang.Runnable).

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

QueueEvent(Action)

public void QueueEvent (Action r);
member this.QueueEvent : Action -> unit

Parameters

r
Action

Remarks

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