All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VertexBufferDescriptor Struct Reference

Describes vertex elements in interleaved data buffers. More...

#include <vertexDescriptor.h>

Public Member Functions

 VertexBufferDescriptor ()
 Default Constructor. More...
 
 VertexBufferDescriptor (int o, int l, int s)
 Constructor. More...
 
bool IsValid () const
 True if the descriptor values are internally consistent. More...
 
bool CanEval (VertexBufferDescriptor const &other) const
 
void Reset ()
 Resets the descriptor to default. More...
 
bool operator== (VertexBufferDescriptor const other) const
 True if the descriptors are identical. More...
 

Public Attributes

int offset
 
int length
 
int stride
 

Detailed Description

Describes vertex elements in interleaved data buffers.

Definition at line 37 of file vertexDescriptor.h.

Constructor & Destructor Documentation

Default Constructor.

Definition at line 40 of file vertexDescriptor.h.

VertexBufferDescriptor ( int  o,
int  l,
int  s 
)
inline

Constructor.

Definition at line 43 of file vertexDescriptor.h.

Member Function Documentation

bool CanEval ( VertexBufferDescriptor const &  other) const
inline

True if the 'other' descriptor can be used as a destination for data evaluations.

Definition at line 52 of file vertexDescriptor.h.

bool IsValid ( ) const
inline

True if the descriptor values are internally consistent.

Definition at line 46 of file vertexDescriptor.h.

bool operator== ( VertexBufferDescriptor const  other) const
inline

True if the descriptors are identical.

Definition at line 64 of file vertexDescriptor.h.

void Reset ( )
inline

Resets the descriptor to default.

Definition at line 59 of file vertexDescriptor.h.

Member Data Documentation

int length

Definition at line 71 of file vertexDescriptor.h.

int offset

Definition at line 70 of file vertexDescriptor.h.

int stride

Definition at line 72 of file vertexDescriptor.h.


The documentation for this struct was generated from the following file: