List of usage examples for org.lwjgl.opengl GL20 nglVertexAttribPointer
public static void nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)
From source file:com.samrj.devil.gl.VAO.java
private void vertexAttribPointer(int index, AttributeType type, int stride, long pointerOffset) { if (type.isInteger) GL30.nglVertexAttribIPointer(index, type.components, type.glComponent, stride, pointerOffset); else/*from ww w. ja v a 2 s. com*/ GL20.nglVertexAttribPointer(index, type.components, type.glComponent, false, stride, pointerOffset); }