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);
long mDeviceAccessLockCount
bool mAutoHardwareBufferManagement
ResourceContainer mResources
D3D9ResourceCreationPolicy
D3D9ResourceCreationPolicy mResourceCreationPolicy
set< D3D9Resource * >::type ResourceContainer
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
void setAutoHardwareBufferManagement(bool autoManagement)
Set/Get automatic hardware buffers management.
bool getAutoHardwareBufferManagement() const
ResourceContainer::iterator ResourceContainerIterator
Represents a Direct3D rendering resource.