![]() |
Plasma Engine
2.0
|

Public Member Functions | |
| PL_ALWAYS_INLINE ID3D11Resource * | GetDXTexture () const |
| PL_ALWAYS_INLINE ID3D11Resource * | GetDXStagingTexture () const |
Public Member Functions inherited from plGALResource< plGALTextureCreationDescription > | |
| PL_ALWAYS_INLINE | plGALResource (const plGALTextureCreationDescription &description) |
| PL_ALWAYS_INLINE const plGALTextureCreationDescription & | GetDescription () const |
Public Member Functions inherited from plGALResourceBase | |
| void | SetDebugName (const char *szName) const |
| virtual const plGALResourceBase * | GetParentResource () const |
Public Member Functions inherited from plRefCounted | |
| virtual | ~plRefCounted ()=default |
| Adds a virtual destructor. | |
Public Member Functions inherited from plRefCountingImpl | |
| plRefCountingImpl ()=default | |
| Constructor. | |
| plRefCountingImpl (const plRefCountingImpl &rhs) | |
| void | operator= (const plRefCountingImpl &rhs) |
| plInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count. | |
| plInt32 | 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. | |
| plInt32 | GetRefCount () const |
| Returns the current reference count. | |
Protected Member Functions | |
| plGALTextureDX11 (const plGALTextureCreationDescription &Description) | |
| virtual plResult | InitPlatform (plGALDevice *pDevice, plArrayPtr< plGALSystemMemoryDescription > pInitialData) override |
| virtual plResult | DeInitPlatform (plGALDevice *pDevice) override |
| virtual void | SetDebugNamePlatform (const char *szName) const override |
| plResult | InitFromNativeObject (plGALDeviceDX11 *pDXDevice) |
| plResult | CreateStagingTexture (plGALDeviceDX11 *pDevice) |
Protected Member Functions inherited from plGALTexture | |
| plGALTexture (const plGALTextureCreationDescription &Description) | |
Static Protected Member Functions | |
| static plResult | Create2DDesc (const plGALTextureCreationDescription &description, plGALDeviceDX11 *pDXDevice, D3D11_TEXTURE2D_DESC &out_Tex2DDesc) |
| static plResult | Create3DDesc (const plGALTextureCreationDescription &description, plGALDeviceDX11 *pDXDevice, D3D11_TEXTURE3D_DESC &out_Tex3DDesc) |
| static void | ConvertInitialData (const plGALTextureCreationDescription &description, plArrayPtr< plGALSystemMemoryDescription > pInitialData, plHybridArray< D3D11_SUBRESOURCE_DATA, 16 > &out_InitialData) |
Protected Attributes | |
| ID3D11Resource * | m_pDXTexture = nullptr |
| ID3D11Resource * | m_pDXStagingTexture = nullptr |
Protected Attributes inherited from plGALTexture | |
| plGALTextureResourceViewHandle | m_hDefaultResourceView |
| plGALRenderTargetViewHandle | m_hDefaultRenderTargetView |
| plHashTable< plUInt32, plGALTextureResourceViewHandle > | m_ResourceViews |
| plHashTable< plUInt32, plGALRenderTargetViewHandle > | m_RenderTargetViews |
| plHashTable< plUInt32, plGALTextureUnorderedAccessViewHandle > | m_UnorderedAccessViews |
Protected Attributes inherited from plGALResource< plGALTextureCreationDescription > | |
| const plGALTextureCreationDescription | m_Description |
Friends | |
| class | plGALDeviceDX11 |
| class | plMemoryUtils |
| class | plGALSharedTextureDX11 |
|
overrideprotectedvirtual |
Implements plGALTexture.
|
protected |
|
overrideprotectedvirtual |
Implements plGALTexture.
|
overrideprotectedvirtual |
Implements plGALResourceBase.