- Depth buffer - Debug display basics - Basic vector + matrix maths Made partially with gemini + antigravity
12 lines
230 B
HLSL
12 lines
230 B
HLSL
#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
|