forked from Dynamitos/Seele
overhauled physics engine
This commit is contained in:
1 parent
3c7346cf7b
commit
2208ab438a
164 files changed
+22606
-928
No files matched your search
@@ -6,4 +6,12 @@ struct PrimitiveSceneData
|
||||
};
|
||||
|
||||
layout(set = INDEX_SCENE_DATA, binding = 0, std430)
|
||||
ConstantBuffer<PrimitiveSceneData> gSceneData;
|
||||
StructuredBuffer<PrimitiveSceneData> gSceneData;
|
||||
|
||||
[[vk::push_constant]]
|
||||
ConstantBuffer<uint> gSceneDataIndex;
|
||||
|
||||
PrimitiveSceneData getSceneData()
|
||||
{
|
||||
return gSceneData[gSceneDataIndex];
|
||||
}
|
||||
Reference in new issue
Block a user