Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::DX11TextureDS Class Reference

#include <GteDX11TextureDS.h>

Inheritance diagram for gte::DX11TextureDS:
Inheritance graph
[legend]

Public Member Functions

 DX11TextureDS (ID3D11Device *device, TextureDS const *texture)
 
 DX11TextureDS (ID3D11Device *device, DX11TextureDS const *dxSharedTexture)
 
ID3D11DepthStencilView * GetDSView () const
 
virtual void SetName (std::string const &name)
 
virtual ~DX11TextureDS ()
 
- Public Member Functions inherited from gte::DX11Texture2
 DX11Texture2 (ID3D11Device *device, Texture2 const *texture)
 
 DX11Texture2 (ID3D11Device *device, DX11Texture2 const *dxSharedTexture)
 
 DX11Texture2 (Texture2 const *texture, ID3D11Texture2D *dxTexture, ID3D11ShaderResourceView *dxSRView)
 
ID3D11Texture2D * GetDXTexture () const
 
Texture2GetTexture () const
 
- Public Member Functions inherited from gte::DX11TextureSingle
TextureSingleGetTextureSingle () const
 
- Public Member Functions inherited from gte::DX11Texture
virtual bool CopyCpuToGpu (ID3D11DeviceContext *context, unsigned int sri) override
 
virtual bool CopyCpuToGpu (ID3D11DeviceContext *context) override
 
virtual bool CopyGpuToCpu (ID3D11DeviceContext *context, unsigned int sri) override
 
virtual bool CopyGpuToCpu (ID3D11DeviceContext *context) override
 
virtual void CopyGpuToGpu (ID3D11DeviceContext *context, ID3D11Resource *target, unsigned int sri) override
 
virtual void CopyGpuToGpu (ID3D11DeviceContext *context, ID3D11Resource *target) override
 
ID3D11ShaderResourceView * GetSRView () const
 
TextureGetTexture () const
 
ID3D11UnorderedAccessView * GetUAView () const
 
virtual bool Update (ID3D11DeviceContext *context, unsigned int sri) override
 
virtual bool Update (ID3D11DeviceContext *context) override
 
virtual ~DX11Texture ()
 
- Public Member Functions inherited from gte::DX11Resource
ID3D11Resource * GetDXResource () const
 
ResourceGetResource () const
 
ID3D11Resource * GetStagingResource () const
 
D3D11_MAPPED_SUBRESOURCE MapForWrite (ID3D11DeviceContext *context, unsigned int sri)
 
void Unmap (ID3D11DeviceContext *context, unsigned int sri)
 
virtual ~DX11Resource ()
 
- Public Member Functions inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * GetDXDeviceChild () const
 
virtual ~DX11GraphicsObject ()
 
- Public Member Functions inherited from gte::GEObject
GraphicsObjectGetGraphicsObject () const
 
std::string const & GetName () const
 
virtual ~GEObject ()
 

Static Public Member Functions

static std::shared_ptr< GEObjectCreate (void *device, GraphicsObject const *object)
 
- Static Public Member Functions inherited from gte::DX11Texture2
static std::shared_ptr< GEObjectCreate (void *device, GraphicsObject const *object)
 

Private Member Functions

void CreateDSSRView (ID3D11Device *device)
 
void CreateDSView (ID3D11Device *device)
 
DXGI_FORMAT GetDepthResourceFormat (DXGI_FORMAT depthFormat)
 
DXGI_FORMAT GetDepthSRVFormat (DXGI_FORMAT depthFormat)
 

Private Attributes

ID3D11DepthStencilView * mDSView
 

Additional Inherited Members

- Protected Member Functions inherited from gte::DX11Texture2
ID3D11Texture2D * CreateSharedDXObject (ID3D11Device *device) const
 
void CreateSRView (ID3D11Device *device, D3D11_TEXTURE2D_DESC const &tx)
 
void CreateStaging (ID3D11Device *device, D3D11_TEXTURE2D_DESC const &tx)
 
void CreateUAView (ID3D11Device *device, D3D11_TEXTURE2D_DESC const &tx)
 
 DX11Texture2 (Texture2 const *texture)
 
- Protected Member Functions inherited from gte::DX11TextureSingle
 DX11TextureSingle (TextureSingle const *gtTextureSingle)
 
- Protected Member Functions inherited from gte::DX11Texture
 DX11Texture (Texture const *gtTexture)
 
- Protected Member Functions inherited from gte::DX11Resource
 DX11Resource (Resource const *gtResource)
 
bool PreparedForCopy (D3D11_CPU_ACCESS_FLAG access) const
 
- Protected Member Functions inherited from gte::DX11GraphicsObject
 DX11GraphicsObject (GraphicsObject const *gtObject)
 
- Protected Member Functions inherited from gte::GEObject
 GEObject (GraphicsObject const *gtObject)
 
- Static Protected Member Functions inherited from gte::DX11Texture
static void CopyPitched2 (unsigned int numRows, unsigned int srcRowPitch, void const *srcData, unsigned int trgRowPitch, void *trgData)
 
static void CopyPitched3 (unsigned int numRows, unsigned int numSlices, unsigned int srcRowPitch, unsigned int srcSlicePitch, void const *srcData, unsigned int trgRowPitch, unsigned int trgSlicePitch, void *trgData)
 
- Protected Attributes inherited from gte::DX11Texture
ID3D11ShaderResourceView * mSRView
 
ID3D11UnorderedAccessView * mUAView
 
- Protected Attributes inherited from gte::DX11Resource
ID3D11Resource * mStaging
 
- Protected Attributes inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * mDXObject
 
- Protected Attributes inherited from gte::GEObject
GraphicsObjectmGTObject
 
std::string mName
 
- Static Protected Attributes inherited from gte::DX11Resource
static UINT const msStagingAccess []
 

Detailed Description

Definition at line 16 of file GteDX11TextureDS.h.

Constructor & Destructor Documentation

DX11TextureDS::~DX11TextureDS ( )
virtual

Definition at line 12 of file GteDX11TextureDS.cpp.

DX11TextureDS::DX11TextureDS ( ID3D11Device *  device,
TextureDS const *  texture 
)

Definition at line 17 of file GteDX11TextureDS.cpp.

DX11TextureDS::DX11TextureDS ( ID3D11Device *  device,
DX11TextureDS const *  dxSharedTexture 
)

Definition at line 65 of file GteDX11TextureDS.cpp.

Member Function Documentation

std::shared_ptr< GEObject > DX11TextureDS::Create ( void device,
GraphicsObject const *  object 
)
static

Definition at line 75 of file GteDX11TextureDS.cpp.

void DX11TextureDS::CreateDSSRView ( ID3D11Device *  device)
private

Definition at line 106 of file GteDX11TextureDS.cpp.

void DX11TextureDS::CreateDSView ( ID3D11Device *  device)
private

Definition at line 95 of file GteDX11TextureDS.cpp.

DXGI_FORMAT DX11TextureDS::GetDepthResourceFormat ( DXGI_FORMAT  depthFormat)
private

Definition at line 117 of file GteDX11TextureDS.cpp.

DXGI_FORMAT DX11TextureDS::GetDepthSRVFormat ( DXGI_FORMAT  depthFormat)
private

Definition at line 143 of file GteDX11TextureDS.cpp.

ID3D11DepthStencilView * gte::DX11TextureDS::GetDSView ( ) const
inline

Definition at line 42 of file GteDX11TextureDS.h.

void DX11TextureDS::SetName ( std::string const &  name)
virtual

Reimplemented from gte::DX11Texture.

Definition at line 88 of file GteDX11TextureDS.cpp.

Member Data Documentation

ID3D11DepthStencilView* gte::DX11TextureDS::mDSView
private

Definition at line 39 of file GteDX11TextureDS.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06