9 lines
169 B
HLSL
9 lines
169 B
HLSL
cbuffer MatrixBuffer
|
|
{
|
|
float4x4 WorldViewProjectionMatrix;
|
|
};
|
|
|
|
float4 main( float4 pos : POSITION ) : SV_POSITION
|
|
{
|
|
return mul(pos, WorldViewProjectionMatrix);
|
|
} |