OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::v1::HardwareVertexBufferSharedPtr Class Reference

Shared pointer implementation used to share vertex buffers. More...

#include <OgreHardwareVertexBuffer.h>

+ Inheritance diagram for Ogre::v1::HardwareVertexBufferSharedPtr:

Public Types

typedef void(* unspecified_bool_type) (SharedPtr ***)
 

Public Member Functions

 HardwareVertexBufferSharedPtr ()
 
 HardwareVertexBufferSharedPtr (HardwareVertexBuffer *buf)
 
void bind (HardwareVertexBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr. More...
 
SharedPtr< Y > dynamicCast () const
 
HardwareVertexBufferget () const
 
HardwareVertexBuffergetPointer () const
 
bool isNull () const
 
 operator unspecified_bool_type () const
 
HardwareVertexBufferoperator* () const
 
HardwareVertexBufferoperator-> () const
 
void reset ()
 
void reset (HardwareVertexBuffer *rep)
 
void setNull ()
 
void setUseCount (unsigned value)
 
SharedPtr< Y > staticCast () const
 
bool unique () const
 
unsigned int use_count () const
 
unsigned int useCount () const
 

Static Public Member Functions

static void unspecified_bool (SharedPtr ***)
 

Detailed Description

Shared pointer implementation used to share vertex buffers.

Member Typedef Documentation

◆ unspecified_bool_type

typedef void(* Ogre::SharedPtr< HardwareVertexBuffer >::unspecified_bool_type) (SharedPtr ***)
inherited

Member Function Documentation

◆ bind()

void Ogre::SharedPtr< HardwareVertexBuffer >::bind ( HardwareVertexBuffer *  rep,
SharedPtrFreeMethod  inFreeMethod = SPFM_DELETE 
)
inlineinherited

Binds rep to the SharedPtr.

Remarks
Assumes that the SharedPtr is uninitialised!
Warning
The object must not be bound into a SharedPtr elsewhere
Deprecated:
this api will be dropped. use reset(T*) instead

◆ dynamicCast()

SharedPtr<Y> Ogre::SharedPtr< HardwareVertexBuffer >::dynamicCast ( ) const
inlineinherited

◆ get()

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::get ( ) const
inlineinherited

◆ getPointer()

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::getPointer ( ) const
inlineinherited
Deprecated:
use get() instead

◆ isNull()

◆ operator unspecified_bool_type()

Ogre::SharedPtr< HardwareVertexBuffer >::operator unspecified_bool_type ( ) const
inlineinherited

◆ operator*()

HardwareVertexBuffer & Ogre::SharedPtr< HardwareVertexBuffer >::operator* ( ) const
inlineinherited

◆ operator->()

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::operator-> ( ) const
inlineinherited

◆ reset() [1/2]

void Ogre::SharedPtr< HardwareVertexBuffer >::reset ( )
inlineinherited

◆ reset() [2/2]

void Ogre::SharedPtr< HardwareVertexBuffer >::reset ( HardwareVertexBuffer *  rep)
inlineinherited

◆ setNull()

void Ogre::SharedPtr< HardwareVertexBuffer >::setNull ( )
inlineinherited
Deprecated:
use reset() instead

◆ setUseCount()

void Ogre::SharedPtr< HardwareVertexBuffer >::setUseCount ( unsigned  value)
inlineinherited
Deprecated:
this API will be dropped

◆ staticCast()

SharedPtr<Y> Ogre::SharedPtr< HardwareVertexBuffer >::staticCast ( ) const
inlineinherited

◆ unique()

bool Ogre::SharedPtr< HardwareVertexBuffer >::unique ( ) const
inlineinherited

◆ unspecified_bool()

static void Ogre::SharedPtr< HardwareVertexBuffer >::unspecified_bool ( SharedPtr< HardwareVertexBuffer > ***  )
inlinestaticinherited

◆ use_count()

unsigned int Ogre::SharedPtr< HardwareVertexBuffer >::use_count ( ) const
inlineinherited

◆ useCount()

unsigned int Ogre::SharedPtr< HardwareVertexBuffer >::useCount ( ) const
inlineinherited

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