cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VertexData Class Reference

#include <CCVertexIndexData.h>

Inheritance diagram for VertexData:
Ref

Classes

struct  BufferAttribute
 

Public Member Functions

size_t getVertexStreamCount () const
bool setStream (VertexBuffer *buffer, const VertexStreamAttribute &stream)
void removeStream (int semantic)
const VertexStreamAttributegetStreamAttribute (int semantic) const
VertexStreamAttributegetStreamAttribute (int semantic)
VertexBuffergetStreamBuffer (int semantic) const
void use ()
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 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 VertexDatacreate ()

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...
 

Constructor & Destructor Documentation

VertexData ( )
protected
virtual ~VertexData ( )
protectedvirtual

Member Function Documentation

static VertexData* create ( )
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 ( )

Member Data Documentation

std::map<int, BufferAttribute>
_vertexStreams
protected

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