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 |
Describes vertex elements in interleaved data buffers.
Definition at line 37 of file vertexDescriptor.h.
|
inline |
Default Constructor.
Definition at line 40 of file vertexDescriptor.h.
|
inline |
Constructor.
Definition at line 43 of file vertexDescriptor.h.
|
inline |
True if the 'other' descriptor can be used as a destination for data evaluations.
Definition at line 52 of file vertexDescriptor.h.
|
inline |
True if the descriptor values are internally consistent.
Definition at line 46 of file vertexDescriptor.h.
|
inline |
True if the descriptors are identical.
Definition at line 64 of file vertexDescriptor.h.
|
inline |
Resets the descriptor to default.
Definition at line 59 of file vertexDescriptor.h.
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.