|  | 
| bool | Create (UINT width, UINT height, UINT mipLevels, D3D11_USAGE usage, DXGI_FORMAT format, const void *pInitData=nullptr, unsigned int srcPitch=0) | 
|  | 
| void | Release () | 
|  | 
| bool | GetDesc (D3D11_TEXTURE2D_DESC *desc) const | 
|  | 
| bool | LockRect (UINT subresource, D3D11_MAPPED_SUBRESOURCE *res, D3D11_MAP mapType) const | 
|  | 
| bool | UnlockRect (UINT subresource) const | 
|  | 
| ID3D11Texture2D * | Get () const | 
|  | 
| ID3D11ShaderResourceView * | GetShaderResource (DXGI_FORMAT format=DXGI_FORMAT_UNKNOWN) | 
|  | 
| ID3D11ShaderResourceView ** | GetAddressOfSRV (DXGI_FORMAT format=DXGI_FORMAT_UNKNOWN) | 
|  | 
| ID3D11RenderTargetView * | GetRenderTarget () | 
|  | 
| ID3D11RenderTargetView ** | GetAddressOfRTV () | 
|  | 
| UINT | GetWidth () const | 
|  | 
| UINT | GetHeight () const | 
|  | 
| DXGI_FORMAT | GetFormat () const | 
|  | 
| void | GenerateMipmaps () | 
|  | 
| void | OnDestroyDevice (bool fatal) override | 
|  | 
| void | OnCreateDevice () override | 
|  | 
|  | 
| static void | DrawQuad (const CPoint points[4], UTILS::COLOR::Color color, CD3DTexture *texture, const CRect *texCoords, SHADER_METHOD options=SHADER_METHOD_RENDER_TEXTURE_BLEND) | 
|  | 
| static void | DrawQuad (const CPoint points[4], UTILS::COLOR::Color color, unsigned numViews, ID3D11ShaderResourceView **view, const CRect *texCoords, SHADER_METHOD options=SHADER_METHOD_RENDER_TEXTURE_BLEND) | 
|  | 
| static void | DrawQuad (const CRect &coords, UTILS::COLOR::Color color, CD3DTexture *texture, const CRect *texCoords, SHADER_METHOD options=SHADER_METHOD_RENDER_TEXTURE_BLEND) | 
|  | 
| static void | DrawQuad (const CRect &coords, UTILS::COLOR::Color color, unsigned numViews, ID3D11ShaderResourceView **view, const CRect *texCoords, SHADER_METHOD options=SHADER_METHOD_RENDER_TEXTURE_BLEND) | 
|  | 
|  | 
| ID3D11RenderTargetView * | GetRenderTargetInternal (unsigned idx=0) | 
|  | 
| unsigned int | GetMemoryUsage (unsigned int pitch) const | 
|  | 
| bool | CreateInternal (const void *pInitData=nullptr, unsigned int srcPitch=0) | 
|  | 
| void | SaveTexture () | 
|  | 
| void | RestoreTexture () | 
|  | 
| void | Register () | 
|  | 
| void | Unregister () | 
|  | 
|  | 
| BYTE * | m_data | 
|  | 
| UINT | m_width | 
|  | 
| UINT | m_height | 
|  | 
| UINT | m_mipLevels | 
|  | 
| UINT | m_pitch | 
|  | 
| UINT | m_bindFlags | 
|  | 
| UINT | m_cpuFlags | 
|  | 
| UINT | m_viewIdx | 
|  | 
| D3D11_USAGE | m_usage | 
|  | 
| DXGI_FORMAT | m_format | 
|  | 
| Microsoft::WRL::ComPtr< ID3D11Texture2D > | m_texture | 
|  | 
| Microsoft::WRL::ComPtr< ID3D11RenderTargetView > | m_renderTargets [2] | 
|  | 
| std::map< DXGI_FORMAT, Microsoft::WRL::ComPtr< ID3D11ShaderResourceView > > | m_views | 
|  | 
| bool | m_bRegistered = false | 
|  | 
The documentation for this class was generated from the following files: