Język

GLES30.GlClientWaitSync(Int64, Int32, Int64) Method

Definition

Waits on the calling thread for a sync object, subject to a timeout.

[Android.Runtime.Register("glClientWaitSync", "(JIJ)I", "")]
public static int GlClientWaitSync(long sync, int flags, long timeout);
[<Android.Runtime.Register("glClientWaitSync", "(JIJ)I", "")>]
static member GlClientWaitSync : int64 * int * int64 -> int

Parameters

sync
Int64

The native sync handle returned by GlFenceSync.

flags
Int32

Zero or GL_SYNC_FLUSH_COMMANDS_BIT.

timeout
Int64

The unsigned 64-bit timeout in nanoseconds, supplied through the integer's bit pattern; zero polls without waiting.

Returns

GL_ALREADY_SIGNALED, GL_CONDITION_SATISFIED, GL_TIMEOUT_EXPIRED, or GL_WAIT_FAILED.

Attributes

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