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::IObject Diligent::RefCountedObject< ISamplerD3D12, FixedBlockMemoryAllocator > Diligent::ObjectBase< ISamplerD3D12, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc, FixedBlockMemoryAllocator > Diligent::SamplerBase< ISamplerD3D12, IRenderDeviceD3D12, FixedBlockMemoryAllocator > Diligent::SamplerD3D12Impl

Public Member Functions

virtual D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle ()=0
 Returns a pointer to the ID3D12SamplerState interface of the internal Direct3D12 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::IObject
virtual Atomics::Long AddRef ()=0
 Increments the number of strong references by 1. More...
 
virtual Atomics::Long Release ()=0
 Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
 
virtual IReferenceCountersGetReferenceCounters () const =0
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object.
 

Detailed Description

Interface to the sampler object implemented in D3D12.

Member Function Documentation

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

Returns a pointer to the ID3D12SamplerState interface of the internal Direct3D12 object.

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

Implemented in Diligent::SamplerD3D12Impl.