SamplerDesc

A structure representing a sampler description.

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

Methods

Return type

Description

bool

operator == (const SamplerDesc& rhs) const

Detailed description

A structure representing a sampler description.

Data fields

Type

Description

FilterFunc

Filter
Sampler filter function (defaults to linear).

AddressMode

AddressU
Sampler U addressing mode (defaults to clamp).

AddressMode

AddressV
Sampler V addressing mode (defaults to clamp).

AddressMode

AddressW
Sampler W addressing mode (defaults to clamp).

ComparisonFunc

Comparison
Sampler comparison function (defaults to never).

float

MinLOD
Sampler minimum LOD clamp (defaults to 0.f).

float

MaxLOD
Sampler maximum LOD clamp (defaults to FLOAT_MAX).

float

MipLODBias
Sampler mip LOD bias (defaults to 0.f).

uint32_t

MaxAnisotropy
Sampler maximum anisotropy clamp (defaults to 16).