cocos2d-x
3.3
|
#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 () |
![]() | |
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 () |
NA NA More... | |
Static Public Member Functions | |
static VertexData * | create () |
Protected Member Functions | |
VertexData () | |
virtual | ~VertexData () |
![]() | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
std::map< int, BufferAttribute > | _vertexStreams |
![]() | |
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 |