Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. glVertexAttribPointer(
  2. 0, // index: the index of the attribute to be modified
  3. 1, // size: the number of components per attribute
  4. GL_FLOAT, // type: the data type of each component
  5. GL_FALSE, // normalized: whether or not to normalize data points
  6. 2, // stride: the byte offset between attributes
  7. (void *)0 // pointer: the offset of the first component of the first array attribute
  8. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement