![]() |
ezEngine
Release 25.03
|
Public Member Functions | |
EZ_ALWAYS_INLINE ID3D11Resource * | GetDXTexture () const |
![]() | |
EZ_ALWAYS_INLINE | ezGALResource (const ezGALTextureCreationDescription &description) |
const EZ_ALWAYS_INLINE ezGALTextureCreationDescription & | GetDescription () const |
![]() | |
void | SetDebugName (const char *szName) const |
virtual const ezGALResourceBase * | GetParentResource () const |
![]() | |
virtual | ~ezRefCounted ()=default |
Adds a virtual destructor. | |
![]() | |
ezRefCountingImpl ()=default | |
Constructor. | |
ezRefCountingImpl (const ezRefCountingImpl &rhs) | |
void | operator= (const ezRefCountingImpl &rhs) |
ezInt32 | AddRef () const |
Increments the reference counter. Returns the new reference count. | |
ezInt32 | ReleaseRef () const |
Decrements the reference counter. Returns the new reference count. | |
bool | IsReferenced () const |
Returns true if the reference count is greater than 0, false otherwise. | |
ezInt32 | GetRefCount () const |
Returns the current reference count. | |
Static Public Member Functions | |
static ezResult | Create2DDesc (const ezGALTextureCreationDescription &description, ezGALDeviceDX11 *pDXDevice, D3D11_TEXTURE2D_DESC &out_tex2DDesc) |
static ezResult | Create3DDesc (const ezGALTextureCreationDescription &description, ezGALDeviceDX11 *pDXDevice, D3D11_TEXTURE3D_DESC &out_tex3DDesc) |
static void | ConvertInitialData (const ezGALTextureCreationDescription &description, ezArrayPtr< ezGALSystemMemoryDescription > initialData, ezHybridArray< D3D11_SUBRESOURCE_DATA, 16 > &out_initialData) |
Protected Member Functions | |
ezGALTextureDX11 (const ezGALTextureCreationDescription &Description) | |
virtual ezResult | InitPlatform (ezGALDevice *pDevice, ezArrayPtr< ezGALSystemMemoryDescription > initialData) override |
virtual ezResult | DeInitPlatform (ezGALDevice *pDevice) override |
virtual void | SetDebugNamePlatform (const char *szName) const override |
ezResult | InitFromNativeObject (ezGALDeviceDX11 *pDXDevice) |
![]() | |
ezGALTexture (const ezGALTextureCreationDescription &Description) | |
Protected Attributes | |
ID3D11Resource * | m_pDXTexture = nullptr |
![]() | |
ezGALTextureResourceViewHandle | m_hDefaultResourceView |
ezGALRenderTargetViewHandle | m_hDefaultRenderTargetView |
ezHashTable< ezUInt32, ezGALTextureResourceViewHandle > | m_ResourceViews |
ezHashTable< ezUInt32, ezGALRenderTargetViewHandle > | m_RenderTargetViews |
ezHashTable< ezUInt32, ezGALTextureUnorderedAccessViewHandle > | m_UnorderedAccessViews |
![]() | |
const ezGALTextureCreationDescription | m_Description |
Friends | |
class | ezGALDeviceDX11 |
class | ezMemoryUtils |
class | ezGALSharedTextureDX11 |
|
protected |