Add input layout

Add matrix buffer
Convert camera to D3D11
This commit is contained in:
2026-11-27 16:08:22 +01:00
parent 85d8830b84
commit 97192e1587
12 changed files with 171 additions and 69 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
cbuffer MatrixBuffer
{
float4x4 WorldViewProjectionMatrix;
};
float4 main( float4 pos : POSITION ) : SV_POSITION
{
return pos;
return mul(pos, WorldViewProjectionMatrix);
}