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