Diligent Engine API Reference
|
Implementation of the Diligent::ITextureViewD3D12 interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override |
Queries the specific interface, see IObject::QueryInterface() for details. | |
void | GenerateMips (IDeviceContext *pContext) override |
Generates a mipmap chain. More... | |
virtual D3D12_CPU_DESCRIPTOR_HANDLE | GetCPUDescriptorHandle () override |
Returns CPU descriptor handle of the texture view. | |
![]() | |
TextureViewBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureViewDesc &ViewDesc, class ITexture *pTexture, bool bIsDefaultView) | |
virtual void | SetSampler (class ISampler *pSampler) override final |
Implementation of ITextureView::SetSampler() | |
virtual ISampler * | GetSampler () override final |
Implementation of ITextureView::GetSampler() | |
virtual ITexture * | GetTexture () override final |
Implementation of ITextureView::GetTexture() | |
![]() | |
DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureViewDesc &ObjDesc, bool bIsDeviceInternal=false) | |
virtual const TextureViewDesc & | GetDesc () const override final |
UniqueIdentifier | GetUniqueID () const |
Returns unique identifier. More... | |
![]() | |
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
Protected Attributes | |
DescriptorHeapAllocation | m_Descriptor |
D3D12 view descriptor handle. | |
![]() | |
Diligent::RefCntAutoPtr< ISampler > | m_pSampler |
Strong reference to the sampler. | |
ITexture * | m_pTexture |
Raw pointer to the texture. | |
Diligent::RefCntAutoPtr< ITexture > | m_spTexture |
Strong reference to the texture. Used for non-default views to keep the texture alive. | |
![]() | |
const String | m_ObjectNameCopy |
Copy of a device object name. More... | |
TextureViewDesc | m_Desc |
Object description. | |
Implementation of the Diligent::ITextureViewD3D12 interface.
|
overridevirtual |
Generates a mipmap chain.
Implements Diligent::ITextureView.