brought back functionality from previous builds but now cross-platform

This commit is contained in:
2025-07-07 15:34:34 +03:00
parent 99eafb9443
commit 83bc9b7f16
61 changed files with 1210 additions and 581 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#include "shader_base.h"
struct VertexOutput
{
@@ -6,10 +7,17 @@ struct VertexOutput
float2 uv: TEXCOORD0;
};
struct PushConstants
DECLARE_CONSTANTS()
{
float4x4 modelMatrix;
uint albedoID;
uint roughnessID;
uint metalnessID;
};
DECLARE_CBUFFER(0)
{
float4x4 projection;
};
DECLARE_TEXTURES(1)