vertexAttribPointer method
void
vertexAttribPointer()
The
WebGLRenderingContext.vertexAttribPointer() method of the
WebGL API
binds the buffer currently bound
to gl.ARRAY_BUFFER to a generic vertex attribute of the current vertex
buffer object and specifies its layout.
Implementation
external void vertexAttribPointer(
GLuint index,
GLint size,
GLenum type,
GLboolean normalized,
GLsizei stride,
GLintptr offset,
);