Function rusty_gl::buffers::gl_vertex_attrib_pointer [−][src]
pub fn gl_vertex_attrib_pointer(
index: GLuint,
size: GLint,
type_: GLType,
normalised: bool,
stride: GLsizei
)
Define an array of generic vertex attribute data
Examles
gl_vertex_attrib_pointer(0, 2, GLType::Float, false, 0);
More: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glVertexAttribPointer.xhtml TODO that last param in a rusty way (null default for now)