Starting to refactor into mesh shading

This commit is contained in:
Dynamitos committed 2023-10-07 19:29:53 +02:00
1 parent fcc4fc12d4
commit 1b6e1a8453
42 files changed
+488 -1577

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
struct InstanceData
{
float4x4 transformMatrix;
};
struct MeshData
{
uint numMeshlets;
uint meshletOffset;
uint numInstances;
uint instanceOffset;
};
struct Scene
{
StructuredBuffer<InstanceData> instances;
StructuredBuffer<MeshData> meshData;
};
ParameterBlock<Scene> scene;