Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::SamplerD3D12Impl Class Reference

Implementation of the Diligent::ISamplerD3D12 interface. More...

Inheritance diagram for Diligent::SamplerD3D12Impl:
Diligent::SamplerBase< ISamplerD3D12, IRenderDeviceD3D12 > Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc > Diligent::ObjectBase< ISamplerD3D12 > Diligent::RefCountedObject< ISamplerD3D12 > Diligent::ISamplerD3D12 Diligent::ISampler Diligent::IDeviceObject

Public Member Functions

virtual void QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override
 Queries the specific interface, see IObject::QueryInterface() for details.
 
virtual D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle () override
 Returns a CPU descriptor handle of the D3D12 sampler object. More...
 
- Public Member Functions inherited from Diligent::SamplerBase< ISamplerD3D12, IRenderDeviceD3D12 >
 SamplerBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const SamplerDesc &SamDesc, bool bIsDeviceInternal=false)
 
 ~SamplerBase ()
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc >
 DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const SamplerDesc &ObjDesc, bool bIsDeviceInternal=false)
 
virtual const SamplerDescGetDesc () const override final
 
UniqueIdentifier GetUniqueID () const
 Returns unique identifier. More...
 
- Public Member Functions inherited from Diligent::IDeviceObject
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 

Additional Inherited Members

- Protected Attributes inherited from Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc >
const String m_ObjectNameCopy
 Copy of a device object name. More...
 
SamplerDesc m_Desc
 Object description.
 

Detailed Description

Implementation of the Diligent::ISamplerD3D12 interface.

Member Function Documentation

◆ GetCPUDescriptorHandle()

virtual D3D12_CPU_DESCRIPTOR_HANDLE Diligent::SamplerD3D12Impl::GetCPUDescriptorHandle ( )
inlineoverridevirtual

Returns a CPU descriptor handle of the D3D12 sampler object.

The method does NOT call AddRef() on the returned interface, so Release() must not be called.

Implements Diligent::ISamplerD3D12.