cocos2d-x  3.4
 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 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...
 
 Ref ()
 Constructor. More...
 

Protected Attributes

std::map< int, BufferAttribute > _vertexStreams
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
var _referenceCount
 count of references More...
 
local _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: