Struct GltfSamplerDesc#
Defined in File SamplerBuilder.ixx
Struct Documentation#
-
struct GltfSamplerDesc#
A glTF sampler’s wrap/filter settings, translated into Vulkan enums. One instance per glTF
samplerobject referenced by a texture (or the default below when a texture names none / the document is not glTF at all). Defaults match this engine’s pre-sampler-support behaviour exactly - repeat + linear + linear - so an untextured or OBJ-sourced texture keeps producing a byte-identical vk::SamplerCreateInfo.Public Functions
-
bool operator==(const GltfSamplerDesc&) const = default#
Public Members
-
vk::SamplerAddressMode addressModeU = {vk::SamplerAddressMode::eRepeat}#
-
vk::SamplerAddressMode addressModeV = {vk::SamplerAddressMode::eRepeat}#
-
vk::Filter magFilter = {vk::Filter::eLinear}#
-
vk::Filter minFilter = {vk::Filter::eLinear}#
-
vk::SamplerMipmapMode mipmapMode = {vk::SamplerMipmapMode::eLinear}#
-
bool operator==(const GltfSamplerDesc&) const = default#