-
glDrawElements of GL_TRIANGLES with a stride for indices, not vertices?
Hi,
I'm generating a VBO and EBO from a compute shader, after which I'm issuing a call to glDrawElements. Every vertex data is aligned on a 16-byte boundary making it convenient for the compute program to operate.
However, my triangle indices do not follow a 16-byte alignment. Each vertex index is 4 byte, with 3 indices per triangle this gives a 12-byte boundary. Is there an extension to glDrawElements that provides a stride for vertex indices?
Thanks and happy new year to everybody,
Fred
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules