pipe_vertex_element Struct Reference

Information to describe a vertex attribute (position, color, etc). More...


Data Fields

unsigned src_offset
 Offset of this attribute, in bytes, from the start of the vertex.
unsigned vertex_buffer_index:8
 Which vertex_buffer (as given to pipe->set_vertex_buffer()) does this attribute live in?
unsigned nr_components:8
enum pipe_format src_format
 PIPE_FORMAT_*.


Detailed Description

Information to describe a vertex attribute (position, color, etc).

Definition at line 347 of file p_state.h.


Field Documentation

unsigned pipe_vertex_element::src_offset

Offset of this attribute, in bytes, from the start of the vertex.

Definition at line 350 of file p_state.h.

unsigned pipe_vertex_element::vertex_buffer_index

Which vertex_buffer (as given to pipe->set_vertex_buffer()) does this attribute live in?

Definition at line 355 of file p_state.h.

unsigned pipe_vertex_element::nr_components

Definition at line 356 of file p_state.h.

enum pipe_format pipe_vertex_element::src_format

PIPE_FORMAT_*.

Definition at line 358 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