|stride to same attrib in next vertex, in bytes |
|number of vertices in this buffer |
|offset to start of data in buffer, in bytes |
|struct pipe_buffer *||buffer|
|the actual buffer |
Typically, all the vertex data/attributes for drawing something will be in one buffer. But it's also possible, for example, to put colors in one buffer and texcoords in another.
Definition at line 335 of file p_state.h.
|struct pipe_buffer* pipe_vertex_buffer::buffer