pipe_vertex_buffer Struct Reference

A vertex buffer. More...

Collaboration diagram for pipe_vertex_buffer:

Collaboration graph
[legend]

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_bufferbuffer
 the actual buffer

Detailed Description

A vertex 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.


Field Documentation

unsigned pipe_vertex_buffer::pitch

stride to same attrib in next vertex, in bytes

Definition at line 337 of file p_state.h.

unsigned pipe_vertex_buffer::max_index

number of vertices in this buffer

Definition at line 338 of file p_state.h.

unsigned pipe_vertex_buffer::buffer_offset

offset to start of data in buffer, in bytes

Definition at line 339 of file p_state.h.

struct pipe_buffer* pipe_vertex_buffer::buffer [read]

the actual buffer

Definition at line 340 of file p_state.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:04 2009 for Gallium3D by  doxygen 1.5.4