Go to the documentation of this file.
28 #ifndef __D3D9ResourceManager_H__
29 #define __D3D9ResourceManager_H__
60 void notifyOnDeviceCreate (IDirect3DDevice9* d3d9Device);
63 void notifyOnDeviceDestroy (IDirect3DDevice9* d3d9Device);
66 void notifyOnDeviceLost (IDirect3DDevice9* d3d9Device);
69 void notifyOnDeviceReset (IDirect3DDevice9* d3d9Device);
73 void lockDeviceAccess ();
77 void unlockDeviceAccess ();
111 void _notifyResourceDestroyed (
D3D9Resource* pResource);
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
set< D3D9Resource * >::type ResourceContainer
D3D9ResourceCreationPolicy mResourceCreationPolicy
Represents a Direct3D rendering resource.
@ RCP_CREATE_ON_ALL_DEVICES
long mDeviceAccessLockCount
ResourceContainer mResources
bool mAutoHardwareBufferManagement
bool getAutoHardwareBufferManagement() const
ResourceContainer::iterator ResourceContainerIterator
void setAutoHardwareBufferManagement(bool autoManagement)
Set/Get automatic hardware buffers management.
@ RCP_CREATE_ON_ACTIVE_DEVICE
D3D9ResourceCreationPolicy
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15