Skip to content

LiteFX::Rendering::DescriptorSetLayoutBuilder::makeDescriptor

Creates a static sampler for the descriptor bound to binding.

Synopsis

Declared in <litefx/rendering_builders.hpp>

constexpr virtual descriptor_layout_type makeDescriptor(
    UInt32 binding,
    FilterMode magFilter,
    FilterMode minFilter,
    BorderMode borderU,
    BorderMode borderV,
    BorderMode borderW,
    MipMapMode mipMapMode,
    Float mipMapBias,
    Float minLod,
    Float maxLod,
    Float anisotropy) = 0;

Return Value

The descriptor layout instance for the static sampler.

Parameters

NameDescription
bindingThe binding point for the descriptor.
magFilterThe magnifying filter operation.
minFilterThe minifying filter operation.
borderUThe border address mode into U direction.
borderVThe border address mode into V direction.
borderWThe border address mode into W direction.
mipMapModeThe mip map filter operation.
mipMapBiasThe mip map bias.
minLodThe closest mip map distance level.
maxLodThe furthest mip map distance level.
anisotropyThe maximum anisotropy.