TextureManager::TextureManager

TextureManager::TextureManager
TextureManager(ID3D12Device* pdevice, D3D12::RenderSync* rsync, ThreadId renderThreadId, ThreadCommandQueue* commandQueue, TextureCache* texCache = 0);
Description

TextureManager constructor. Initializes TextureManager with the Direct3D device and texture capabilities.

Parameters
Parameters 
Description 
ID3D12Device* pdevice 
the Direct3D device. 
D3D12::RenderSync* rsync 
The RenderSync device. 
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.