forked from Dynamitos/Seele
Refactor ShaderBuffer
This commit is contained in:
1 parent
dcbce27fb2
commit
fcc4fc12d4
35 files changed
+99
-564
No files matched your search
@@ -62,10 +62,10 @@ struct PointLight : ILightEnv
|
||||
};
|
||||
|
||||
layout(set = INDEX_LIGHT_ENV, binding = 0, std430)
|
||||
StructuredBuffer<DirectionalLight> directionalLights;
|
||||
ShaderBuffer<DirectionalLight> directionalLights;
|
||||
layout(set = INDEX_LIGHT_ENV, binding = 1, std430)
|
||||
ConstantBuffer<uint> numDirectionalLights;
|
||||
layout(set = INDEX_LIGHT_ENV, binding = 2, std430)
|
||||
StructuredBuffer<PointLight> pointLights;
|
||||
ShaderBuffer<PointLight> pointLights;
|
||||
layout(set = INDEX_LIGHT_ENV, binding = 3, std430)
|
||||
ConstantBuffer<uint> numPointLights;
|
||||
Reference in new issue
Block a user