#include <CCVertexIndexData.h>
Classes | |
struct | BufferAttribute |
Public Member Functions | |
size_t | getVertexStreamCount () const |
bool | setStream (VertexBuffer *buffer, const VertexStreamAttribute &stream) |
void | removeStream (int semantic) |
const VertexStreamAttribute * | getStreamAttribute (int semantic) const |
VertexStreamAttribute * | getStreamAttribute (int semantic) |
VertexBuffer * | getStreamBuffer (int semantic) const |
void | use () |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Static Public Member Functions | |
static VertexData * | create () |
Protected Member Functions | |
VertexData () | |
virtual | ~VertexData () |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
std::map< int, BufferAttribute > | _vertexStreams |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
|
protected |
|
protectedvirtual |
|
static |
const VertexStreamAttribute* getStreamAttribute |
( | int | semantic | ) | const |
VertexStreamAttribute* getStreamAttribute |
( | int | semantic | ) |
VertexBuffer* getStreamBuffer | ( | int | semantic | ) | const |
size_t getVertexStreamCount | ( | ) | const |
void removeStream | ( | int | semantic | ) |
bool setStream | ( | VertexBuffer * | buffer, |
const VertexStreamAttribute & | stream | ||
) |
void use | ( | ) |
|
protected |