Diligent Engine API Reference: Diligent::ISampler Class Reference

Diligent Engine API Reference

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

Texture sampler interface. More...

Inheritance diagram for Diligent::ISampler:

## 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 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

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