The WebGL buffer containing the static attribute data.
the number of elements in the attribute
A typed array of data for the attribute.
The divisor, used in instanced attributes.
The number of instances for this attribute. If zero this object is determined to be non-instanced.
Whether this attribute needs an update. Set after the attribute changes to have it recast to memory.
Whether integer data values should be normalized into a certain range when being cast to a float.
How many bytes to offset when passing in the buffer.
The size of each element in the attribute. For example if you're describing 3D vectors, this would be 3.
How big a stride should this attribute have. Should be 0 for all attributes that are uncombined.
gl.ELEMENT_ARRAY_BUFFER or gl.ARRAY_BUFFER depending on whether this is an index attribute or not.
default gl.UNSIGNED_SHORT for 'index', gl.FLOAT for others.
Udpate an attribute for rendering
The WTCGL rendering context.
Represents a geometry attribute.