Diligent::ISampler struct

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

Base classes

struct IDeviceObject
Base interface for all objects created by the render device Diligent::IRenderDevice.

Derived classes

struct ISamplerD3D11
Exposes Direct3D11-specific functionality of a sampler object.
struct ISamplerD3D12
Exposes Direct3D12-specific functionality of a sampler object.
struct ISamplerGL
Exposes OpenGL-specific functionality of a sampler object.
class ISamplerMtl
Exposes Metal-specific functionality of a sampler object.
struct ISamplerVk
Exposes Vulkan-specific functionality of a sampler object.

Public functions

auto GetDesc() const -> const SamplerDesc&METHOD() override
Returns the sampler description used to create the object.