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::ISamplerD3D11 Diligent::ISamplerD3D12 Diligent::ISamplerGL Diligent::RefCountedObject< ISamplerD3D11 > Diligent::RefCountedObject< ISamplerD3D12 > Diligent::RefCountedObject< ISamplerGL > Diligent::ObjectBase< ISamplerD3D11 > Diligent::ObjectBase< ISamplerD3D12 > Diligent::ObjectBase< ISamplerGL > Diligent::DeviceObjectBase< ISamplerD3D11, SamplerDesc > Diligent::DeviceObjectBase< ISamplerD3D12, SamplerDesc > Diligent::DeviceObjectBase< ISamplerGL, SamplerDesc > Diligent::SamplerBase< ISamplerD3D11, IRenderDeviceD3D11 > Diligent::SamplerBase< ISamplerD3D12, IRenderDeviceD3D12 > Diligent::SamplerBase< ISamplerGL, IGLDeviceBaseInterface > 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::IDeviceObject
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 

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().