LiteFX::Rendering::Backends::DirectX12PushConstantsLayoutBuilder::withRange¶
Adds a new push constants range.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
constexpr TSelf&& withRange(this
TSelf&& self,
ShaderStage shaderStages,
UInt32 offset,
UInt32 size,
UInt32 space,
UInt32 binding);
Parameters¶
| Name | Description |
|---|---|
| shaderStages | The shader stage, for which the range is defined. |
| offset | The offset of the range. |
| size | The size of the range. |
| space | The descriptor space, the range is bound to. |
| binding | The binding point for the range. |