Refactor ShaderBuffer
This commit is contained in:
@@ -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