WebGLSync class

The interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.

WebGLObject

WebGLSync

When working with objects, the following methods of the WebGL2RenderingContext are useful:

WebGL2RenderingContext.fenceSync() WebGL2RenderingContext.deleteSync() WebGL2RenderingContext.isSync() WebGL2RenderingContext.clientWaitSync() WebGL2RenderingContext.waitSync() WebGL2RenderingContext.getSyncParameter()

Implemented types
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

WebGLSync()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited