Returns the cached index obtained by calling getAttribLocation on the
WebGLRenderingContext.
Specifies the data formats and locations of vertex attributes in a vertex attributes array.
Calls the vertexAttribPointer method
on the underlying WebGLRenderingContext
using the cached attribute index and the supplied parameters.
Note that the type parameter is hard-code to FLOAT.
The number of components per attribute. Must be 1, 2, 3, or 4.
The data type of each component in the array.
Specifies whether fixed-point data values should be normalized (true), or are converted to fixed point vales (false) when accessed.
The distance in bytes between the beginning of consecutive vertex attributes.
The offset in bytes of the first component in the vertex attribute array. Must be a multiple of type.
An object-oriented representation of an
attributein a GLSL shader program.