vertexAttribPointer method
Implementation
void vertexAttribPointer(int index, int size, int type, bool normalized, int stride, int offset) {
if (capabilities.isWebGL2 == true && (type == WebGL.INT || type == WebGL.UNSIGNED_INT)) {
gl.vertexAttribIPointer(index, size, type, stride, offset);
} else {
gl.vertexAttribPointer(index, size, type, normalized, stride, offset);
}
}