vertexAttribPointer method

void vertexAttribPointer(
  1. GlBuffer buffer,
  2. int index,
  3. int size,
  4. int type,
  5. bool normalized,
  6. int stride,
  7. int offset,
)

Implementation

void vertexAttribPointer(GlBuffer buffer, int index, int size, int type,
    bool normalized, int stride, int offset) {
  _gl.bindBuffer(GL_ARRAY_BUFFER, buffer);
  _gl.vertexAttribPointer(index, size, type, normalized, stride, offset);
}