ANGLEInstancedArrays class
The extension is part of the WebGL API and allows to draw the
same object, or groups of similar objects multiple times, if they
share the same vertex data, primitive count and type.
WebGL extensions are available using the
WebGLRenderingContext.getExtension()
method. For more
information, see also Using Extensions in the WebGL tutorial.
Note: This extension is only available to WebGL1 contexts. In
WebGL2, the functionality of this extension is available on the
WebGL2 context by default and the constants and methods are
available without the "ANGLE
" suffix.
Despite the name "ANGLE", this extension works on any device if
the hardware supports it and not just on Windows when using the
ANGLE library. "ANGLE" just indicates that this extension has
been written by the ANGLE library authors.
- Available extensions
- Annotations
-
- @JS('ANGLE_instanced_arrays')
- @staticInterop
Constructors
- ANGLEInstancedArrays()
-
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
-
drawArraysInstancedANGLE(
int mode, int first, int count, int primcount) → void -
Available on ANGLEInstancedArrays, provided by the PropsANGLEInstancedArrays extension
-
drawElementsInstancedANGLE(
int mode, int count, int type, int offset, int primcount) → void -
Available on ANGLEInstancedArrays, provided by the PropsANGLEInstancedArrays extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
vertexAttribDivisorANGLE(
int index, int divisor) → void -
Available on ANGLEInstancedArrays, provided by the PropsANGLEInstancedArrays extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- vertexAttribArrayDivisorAngle → int
-
no setter