Data Fields | |
unsigned | pitch |
stride to same attrib in next vertex, in bytes | |
unsigned | max_index |
number of vertices in this buffer | |
unsigned | buffer_offset |
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.
unsigned pipe_vertex_buffer::pitch |
unsigned pipe_vertex_buffer::max_index |
unsigned pipe_vertex_buffer::buffer_offset |
struct pipe_buffer* pipe_vertex_buffer::buffer [read] |