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

Texture sampler interface. More...

Inheritance diagram for Diligent::ISampler:
Diligent::IDeviceObject Diligent::IObject Diligent::ISamplerD3D11 Diligent::ISamplerD3D12 Diligent::ISamplerGL Diligent::RefCountedObject< ISamplerD3D11, FixedBlockMemoryAllocator > Diligent::RefCountedObject< ISamplerD3D12, FixedBlockMemoryAllocator > Diligent::RefCountedObject< ISamplerGL, FixedBlockMemoryAllocator > Diligent::ObjectBase< ISamplerD3D11, FixedBlockMemoryAllocator > Diligent::ObjectBase< ISamplerD3D12, FixedBlockMemoryAllocator > Diligent::ObjectBase< ISamplerGL, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< ISamplerD3D11, SamplerDesc, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< ISamplerGL, SamplerDesc, FixedBlockMemoryAllocator > Diligent::SamplerBase< ISamplerD3D11, IRenderDeviceD3D11, FixedBlockMemoryAllocator > Diligent::SamplerBase< ISamplerD3D12, IRenderDeviceD3D12, FixedBlockMemoryAllocator > Diligent::SamplerBase< ISamplerGL, IGLDeviceBaseInterface, FixedBlockMemoryAllocator > Diligent::SamplerD3D11Impl Diligent::SamplerD3D12Impl Diligent::SamplerGLImpl

Public Member Functions

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

Texture sampler interface.

The interface holds the sampler state that can be used to perform texture filtering. To create a sampler, call IRenderDevice::CreateSampler(). To use a sampler, call ITextureView::SetSampler().