Create a sync object.
The rendering context.
UnsupportedOperationError if the sync object can't be created.
The condition of this sync object. Always SYNC_GPU_COMMANDS_COMPLETE
.
The flags with which this sync object was created. Always 0
as no flags are supported.
Whether or not this is a valid sync object.
The status of this sync object.
The type of this sync object. Always SYNC_FENCE
.
Wait on the client for this sync object to become signaled or for the given timeout to be passed.
Whether or not to flush commands.
The timeout in nanoseconds to wait for the sync object to become signaled.
This sync object's status.
BadValueError if timeout
exceeds the maximum client wait timeout.
Wait on the GL server for this sync object to become signaled.
This sync object's status.
A sync object.
See
WebGLSync