Skip to content

LiteFX::Rendering::Backends::VulkanPushConstantsLayoutBuilder::makeRange

Creates a new push constants range.

Synopsis

Declared in <litefx/backends/vulkan_builders.hpp>

[[dllexport]] virtual UniquePtr<VulkanPushConstantsRange> makeRange(
    ShaderStage shaderStages,
    UInt32 offset,
    UInt32 size,
    UInt32 space,
    UInt32 binding) override;

Return Value

The instance of the push constant range.

Parameters

NameDescription
shaderStagesThe shader stage, for which the range is defined.
offsetThe offset of the range.
sizeThe size of the range.
spaceThe descriptor space, the range is bound to.
bindingThe binding point for the range.