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

Interface to the sampler object implemented in D3D12. More...

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

Public Member Functions

virtual D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle ()=0
 Returns a CPU descriptor handle of the D3D12 sampler object. More...
 
- Public Member Functions inherited from Diligent::ISampler
virtual void QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 
virtual const SamplerDescGetDesc () const =0
 Returns the sampler description used to create the object.
 
- 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.
 

Detailed Description

Interface to the sampler object implemented in D3D12.

Member Function Documentation

◆ GetCPUDescriptorHandle()

virtual D3D12_CPU_DESCRIPTOR_HANDLE Diligent::ISamplerD3D12::GetCPUDescriptorHandle ( )
pure virtual

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.

Implemented in Diligent::SamplerD3D12Impl.