mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-27 16:17:12 +03:00
Now passing material index + buffer
This commit is contained in:
@@ -29,6 +29,7 @@ StructuredBuffer<Vertex> vertexBuffer : register(t2);
|
||||
struct ModelPushConstant
|
||||
{
|
||||
int modelIndex; // Push constant data
|
||||
int materialIndex;
|
||||
};
|
||||
|
||||
[[vk::push_constant]]
|
||||
|
||||
Reference in New Issue
Block a user