AttributeBufferInfo class

The attribut Buffer Info.

  • 0 : buffer -> Buffer
  • 1 : numComponents -> 3
  • 2 : type -> 5126
  • 3 : normalize -> false
  • 4 : stride -> 0
  • 5 : offset -> 0
  • 6 : drawType -> 35044

Constructors

AttributeBufferInfo({required Buffer buffer, required int numComponents, required int type, required bool normalize, required int stride, required int offset, required int drawType})

Properties

buffer Buffer
The buffer position or Buffer instance. var buffer = gl.createBuffer();
getter/setter pair
drawType int
example gl.STATIC_DRAW.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
normalize bool
don't normalize the data
getter/setter pair
numComponents int
components per iteration.
getter/setter pair
offset int
start at the beginning of the buffer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stride int
0 = move forward size * sizeof(type) each iteration to get the next position.
getter/setter pair
type int
The data type. example gl.FLOAT.
getter/setter pair

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