Now passing material index + buffer

This commit is contained in:
antopilo
2025-01-04 20:33:29 -05:00
parent 3f6de89262
commit f3486bc316
6 changed files with 197 additions and 42 deletions

View File

@@ -29,6 +29,7 @@ StructuredBuffer<Vertex> vertexBuffer : register(t2);
struct ModelPushConstant
{
int modelIndex; // Push constant data
int materialIndex;
};
[[vk::push_constant]]