Struct RendererAPI::SamplerDesc#

Nested Relationships#

This struct is a nested type of Class RendererAPI.

Nested Types#

Struct Documentation#

struct SamplerDesc#

Description of a sampler.

Public Functions

constexpr bool operator==(const SamplerDesc &other) const noexcept = default#
constexpr bool operator!=(const SamplerDesc &other) const noexcept = default#

Public Members

FilterType MinFilter = {}#
FilterType MagFilter = {}#
TRAP::Graphics::RendererAPI::MipMapMode MipMapMode = {}#
AddressMode AddressU = {}#
AddressMode AddressV = {}#
AddressMode AddressW = {}#
f32 MipLodBias = {}#
bool SetLodRange = {}#
f32 MinLod = {}#
f32 MaxLod = {}#
bool EnableAnisotropy = true#
f32 OverrideAnisotropyLevel = {}#
CompareMode CompareFunc = {}#
std::string Name = {}#
struct TRAP::Graphics::RendererAPI::SamplerDesc::SamplerConversionDesc SamplerConversionDesc#
struct SamplerConversionDesc

Description of YCbCr(YUV) conversion sampler.

Public Functions

constexpr bool operator==(const SamplerConversionDesc &other) const noexcept = default#
constexpr bool operator!=(const SamplerConversionDesc &other) const noexcept = default#

Public Members

TRAP::Graphics::API::ImageFormat Format#
SamplerModelConversion Model#
SamplerRange Range#
SampleLocation ChromaOffsetX#
SampleLocation ChromaOffsetY#
FilterType ChromaFilter#
bool ForceExplicitReconstruction#