OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::v1::MetalHardwareBufferManager Class Referencefinal

MetalHardwareBufferManagerBase as a Singleton. More...

#include <OgreMetalHardwareBufferManager.h>

+ Inheritance diagram for Ogre::v1::MetalHardwareBufferManager:

Public Member Functions

 MetalHardwareBufferManager (MetalDevice *device, VaoManager *vaoManager)
 
 ~MetalHardwareBufferManager () override
 
void _notifyDeviceStalled ()
 
- Public Member Functions inherited from Ogre::v1::HardwareBufferManager
 HardwareBufferManager (HardwareBufferManagerBase *imp)
 
 ~HardwareBufferManager () override
 
void _forceReleaseBufferCopies (const HardwareVertexBufferSharedPtr &sourceBuffer) override
 Internal method that forces the release of copies of a given buffer. More...
 
void _forceReleaseBufferCopies (HardwareVertexBuffer *sourceBuffer) override
 Internal method that forces the release of copies of a given buffer. More...
 
void _freeUnusedBufferCopies () override
 Free all unused vertex buffer copies. More...
 
void _notifyIndexBufferDestroyed (HardwareIndexBuffer *buf)
 Notification that a hardware index buffer has been destroyed. More...
 
void _notifyVertexBufferDestroyed (HardwareVertexBuffer *buf)
 Notification that a hardware vertex buffer has been destroyed. More...
 
void _releaseBufferCopies (bool forceFreeUnused=false) override
 Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_RELEASE; is called by OGRE. More...
 
HardwareVertexBufferSharedPtr allocateVertexBufferCopy (const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false) override
 Allocates a copy of a given vertex buffer. More...
 
HardwareIndexBufferSharedPtr createIndexBuffer (HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false) override
 Create a hardware index buffer. More...
 
HardwareVertexBufferSharedPtr createVertexBuffer (size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false) override
 Create a hardware vertex buffer. More...
 
VertexBufferBindingcreateVertexBufferBinding () override
 Creates a new VertexBufferBinding. More...
 
VertexDeclarationcreateVertexDeclaration () override
 Creates a new vertex declaration. More...
 
void destroyVertexBufferBinding (VertexBufferBinding *binding) override
 Destroys a VertexBufferBinding. More...
 
void destroyVertexDeclaration (VertexDeclaration *decl) override
 Destroys a vertex declaration. More...
 
void registerVertexBufferSourceAndCopy (const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr &copy) override
 Registers a vertex buffer as a copy of another. More...
 
void releaseVertexBufferCopy (const HardwareVertexBufferSharedPtr &bufferCopy) override
 Manually release a vertex buffer copy for others to subsequently use. More...
 
void touchVertexBufferCopy (const HardwareVertexBufferSharedPtr &bufferCopy) override
 Tell engine that the vertex buffer copy intent to reuse. More...
 
- Public Member Functions inherited from Ogre::v1::HardwareBufferManagerBase
 HardwareBufferManagerBase ()
 
virtual ~HardwareBufferManagerBase ()
 
void _notifyIndexBufferDestroyed (HardwareIndexBuffer *buf)
 Notification that a hardware index buffer has been destroyed. More...
 
void _notifyVertexBufferDestroyed (HardwareVertexBuffer *buf)
 Notification that a hardware vertex buffer has been destroyed. More...
 
- Public Member Functions inherited from Ogre::Singleton< HardwareBufferManager >
 Singleton ()
 
 ~Singleton ()
 

Additional Inherited Members

- Public Types inherited from Ogre::v1::HardwareBufferManagerBase
enum  BufferLicenseType { BLT_MANUAL_RELEASE , BLT_AUTOMATIC_RELEASE }
 
- Static Public Member Functions inherited from Ogre::v1::HardwareBufferManager
static HardwareBufferManagergetSingleton ()
 Override standard Singleton retrieval. More...
 
static HardwareBufferManagergetSingletonPtr ()
 Override standard Singleton retrieval. More...
 
- Static Public Member Functions inherited from Ogre::Singleton< HardwareBufferManager >
static HardwareBufferManager & getSingleton ()
 
static HardwareBufferManager * getSingletonPtr ()
 

Detailed Description

Constructor & Destructor Documentation

◆ MetalHardwareBufferManager()

Ogre::v1::MetalHardwareBufferManager::MetalHardwareBufferManager ( MetalDevice device,
VaoManager vaoManager 
)
inline

◆ ~MetalHardwareBufferManager()

Ogre::v1::MetalHardwareBufferManager::~MetalHardwareBufferManager ( )
inlineoverride

References OGRE_DELETE.

Member Function Documentation

◆ _notifyDeviceStalled()

void Ogre::v1::MetalHardwareBufferManager::_notifyDeviceStalled ( )
inline

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