![]() |
wisdom
|
C version:
C++ version:
visibility defines shader stage visibility for the push constant.size_bytes describes size of the constant in bytes; it must be divisible by 4.bind_register describes bind register number in HLSL.bind_space defines bind space number in HLSL as register(regN, spaceN).