OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
osgMyGUI::OSGVertexBuffer Class Reference
Inheritance diagram for osgMyGUI::OSGVertexBuffer:
Collaboration diagram for osgMyGUI::OSGVertexBuffer:

Public Member Functions

 OSGVertexBuffer ()
 
virtual ~OSGVertexBuffer ()
 
void markUsed ()
 
osg::Array * getVertexArray ()
 
osg::VertexBufferObject * getVertexBuffer ()
 
virtual void setVertexCount (size_t count)
 
virtual size_t getVertexCount ()
 
virtual MyGUI::Vertex * lock ()
 
virtual void unlock ()
 

Private Member Functions

void destroy ()
 
osg::UByteArray * create ()
 

Private Attributes

osg::ref_ptr
< osg::VertexBufferObject > 
mBuffer [2]
 
osg::ref_ptr< osg::UByteArray > mVertexArray [2]
 
size_t mNeedVertexCount
 
unsigned int mCurrentBuffer
 
bool mUsed
 

Constructor & Destructor Documentation

osgMyGUI::OSGVertexBuffer::OSGVertexBuffer ( )
virtual osgMyGUI::OSGVertexBuffer::~OSGVertexBuffer ( )
inlinevirtual

Member Function Documentation

osg::UByteArray * osgMyGUI::OSGVertexBuffer::create ( )
private

Here is the caller graph for this function:

void osgMyGUI::OSGVertexBuffer::destroy ( )
private
osg::Array * osgMyGUI::OSGVertexBuffer::getVertexArray ( )
osg::VertexBufferObject * osgMyGUI::OSGVertexBuffer::getVertexBuffer ( )
size_t osgMyGUI::OSGVertexBuffer::getVertexCount ( )
virtual
MyGUI::Vertex * osgMyGUI::OSGVertexBuffer::lock ( )
virtual

Here is the call graph for this function:

void osgMyGUI::OSGVertexBuffer::markUsed ( )
void osgMyGUI::OSGVertexBuffer::setVertexCount ( size_t  count)
virtual
void osgMyGUI::OSGVertexBuffer::unlock ( )
virtual

Member Data Documentation

osg::ref_ptr<osg::VertexBufferObject> osgMyGUI::OSGVertexBuffer::mBuffer[2]
private
unsigned int osgMyGUI::OSGVertexBuffer::mCurrentBuffer
private
size_t osgMyGUI::OSGVertexBuffer::mNeedVertexCount
private
bool osgMyGUI::OSGVertexBuffer::mUsed
private
osg::ref_ptr<osg::UByteArray> osgMyGUI::OSGVertexBuffer::mVertexArray[2]
private

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