class Sampler

The FidelityFX Cauldron Framework api/platform-agnostic representation of the sampler resource.

File location: framework/cauldron/framework/inc/render/sampler.h

Methods

Return type

Description

static Sampler*

CreateSampler (const wchar_t* name, const SamplerDesc & desc)
Sampler instance creation function. Implemented per api/platform to return the correct internal resource type.

const SamplerDesc &

GetDesc () const
Returns the “SamplerDesc“ used to construct the sampler.

SamplerInternal*

GetImpl () = 0
Gets the internal implementation for api/platform parameter accessors.

const SamplerInternal*

GetImpl () const = 0

Detailed description

The FidelityFX Cauldron Framework api/platform-agnostic representation of the sampler resource.

Methods

CreateSampler

Copied!

static Sampler* CreateSampler (const wchar_t* name, const SamplerDesc & desc)

Sampler instance creation function. Implemented per api/platform to return the correct internal resource type.


GetDesc

Copied!

const SamplerDesc & GetDesc () const

Returns the SamplerDesc used to construct the sampler.


GetImpl

Copied!

virtual SamplerInternal* GetImpl () = 0

Gets the internal implementation for api/platform parameter accessors.