Creates an attribute.
The name of the attribute in the WebGL program.
The buffer which supplies data to the attribute.
The number of components per vertex attribute.
Whether to normalize the data after getting it from the buffer.
The offset in bytes between the beginning of consecutive vertex attributes. Must not exceed 255
.
The offset in bytes of the first component in the buffer.
Readonly
bufferThe buffer which supplies data to the attribute.
Readonly
glThe rendering context of this buffer.
Readonly
nameThe name of this attribute in a shader program.
Whether to normalize data after getting it from this buffer.
The offset in bytes of the first component in the buffer.
The number of components per vertex attribute.
The offset in bytes between the beginning of consecutive vertex attributes. Must not exceed 255
.
The type of each component in this buffer.
Generated using TypeDoc
Information about how to access data in a buffer.