Declares a new IndexBuffer of size
bytes to contain vertex indices.
Once declared, data can be set using set_data or by mapping it into the application's address space using map.
context |
A Context |
bytes |
The number of bytes to allocate for vertex attribute data. |
A newly allocated IndexBuffer |