#ifndef ROOT_CONSTANTS_HLSL #define ROOT_CONSTANTS_HLSL cbuffer RootConstants : register(b0, space0) { row_major float4x4 ViewProjection; uint BufferIndex; uint _Padding[3]; }; #endif // ROOT_CONSTANTS_HLSL