A set of constants that get pushed directly to the pipeline. Only one set can be created per shader stage.
uint32_t size_bytes;
uint32_t bind_register;
};
ShaderStages
Shader stages that can be used in the pipeline. Main use is Root signature and descriptor management....
A set of constants that get pushed directly to the pipeline. Only one set can be created per shader s...
Definition at line 1759 of file api.hpp.
#include <api.hpp>
◆ bind_register
uint32_t wis::PushConstant::bind_register |
Bind register number in HLSL.
Definition at line 1762 of file api.hpp.
◆ size_bytes
uint32_t wis::PushConstant::size_bytes |
Size of the constant in bytes. Must be divisible by 4.
Definition at line 1761 of file api.hpp.
◆ stage
Shader stage. Defines the stage where the constant is used.
Definition at line 1760 of file api.hpp.
The documentation for this struct was generated from the following file:
- /home/runner/work/Wisdom/Wisdom/wisdom/include/wisdom/generated/api/api.hpp