LiteFX::Rendering::Backends::VulkanPushConstantsRange::VulkanPushConstantsRange¶
Initializes a new push constants range.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Copy constructor
[[dllimport, dllexport]] VulkanPushConstantsRange(VulkanPushConstantsRange const& other);
Move constructor
[[dllimport, dllexport]] VulkanPushConstantsRange(VulkanPushConstantsRange&& other) noexcept;
Initializes a new push constants range.
[[dllimport, dllexport]] explicit VulkanPushConstantsRange(
ShaderStage shaderStages,
UInt32 offset,
UInt32 size,
UInt32 space,
UInt32 binding);
Parameters¶
| Name | Description |
|---|---|
| shaderStages | The shader stages, that access the push constants from the range. |
| offset | The offset relative to the parent push constants backing memory that marks the beginning of the range. |
| size | The size of the push constants range. |
| space | The space from which the push constants of the range will be accessible in the shader. |
| binding | The register from which the push constants of the range will be accessible in the shader. |