LiteFX::Rendering::Backends::DirectX12PushConstantsRange::DirectX12PushConstantsRange¶
Initializes a new push constants range.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] explicit DirectX12PushConstantsRange(
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. |