WebGLBindingStates class

Constructors

WebGLBindingStates(dynamic gl, WebGLExtensions extensions, WebGLAttributes attributes, WebGLCapabilities capabilities)

Properties

attributes WebGLAttributes
getter/setter pair
bindingStates Map<int, dynamic>
getter/setter pair
capabilities WebGLCapabilities
getter/setter pair
currentState Map<String, dynamic>
getter/setter pair
defaultState Map<String, dynamic>
getter/setter pair
extension ↔ dynamic
getter/setter pair
extensions WebGLExtensions
getter/setter pair
forceUpdate bool
getter/setter pair
gl ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxVertexAttributes int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vaoAvailable bool
getter/setter pair

Methods

bindVertexArrayObject(dynamic vao) → dynamic
createBindingState(dynamic vao) Map<String, dynamic>
createVertexArrayObject() → dynamic
deleteVertexArrayObject(dynamic vao) → dynamic
disableUnusedAttributes() → void
dispose() → void
enableAttribute(dynamic attribute) → void
enableAttributeAndDivisor(dynamic attribute, dynamic meshPerAttribute) → void
getBindingState(BufferGeometry geometry, dynamic program, Material material) → dynamic
initAttributes() → void
needsUpdate(Object3D object, BufferGeometry geometry, WebGLProgram program, BufferAttribute<NativeArray<num>>? index) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseStatesOfGeometry(BufferGeometry geometry) → void
releaseStatesOfProgram(dynamic program) → void
reset() → void
resetDefaultState() → void
saveCache(dynamic object, BufferGeometry geometry, WebGLProgram program, BufferAttribute<NativeArray<num>>? index) → void
setup(Object3D object, Material material, WebGLProgram program, BufferGeometry geometry, BufferAttribute<NativeArray<num>>? index) → void
setupVertexAttributes(Object3D object, Material material, WebGLProgram program, BufferGeometry geometry) → void
toString() String
A string representation of this object.
inherited
vertexAttribPointer(dynamic index, dynamic size, dynamic type, dynamic normalized, dynamic stride, dynamic offset) → void

Operators

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