Diligent Engine API Reference: Diligent::ISamplerD3D12 Class Reference

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:

## 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 SamplerDesc & | GetDesc () 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.