TextureManager::TextureManager

TextureManager::TextureManager
TextureManager(ID3D1x(Device)* pdevice, ID3D1x(DeviceContext) * pcontext, ThreadId renderThreadId, ThreadCommandQueue* commandQueue, TextureCache* texCache = 0, Render::MemoryManager* memoryManager = 0);
Description

TextureManager constructor

Parameters
Parameters 
Description 
ID3D1x(Device)* pdevice 
Pointer to the Direct3D device. 
ID3D1x(DeviceContext) * pcontext 
Pointer to the Direct3D device context. 
ThreadId renderThreadId 
The Id of the render thread used by the renderer. 
ThreadCommandQueue* commandQueue 
Queue used for posting commands to the rendering thread. 
TextureCache* texCache = 0 
The texture cache used by this texture manager. 
Render::MemoryManager* memoryManager = 0 
The memory manager.