forked from Dynamitos/Seele
More Refactoring
This commit is contained in:
1 parent
f8f48352a3
commit
35966cb5b7
60 files changed
+1217
-2332
No files matched your search
@@ -23,7 +23,7 @@ LightEnvironment::LightEnvironment(Gfx::PGraphics graphics)
|
||||
.size = sizeof(Component::DirectionalLight) * MAX_DIRECTIONAL_LIGHTS,
|
||||
.data = nullptr,
|
||||
},
|
||||
.stride = sizeof(Component::DirectionalLight),
|
||||
.numElements = MAX_DIRECTIONAL_LIGHTS,
|
||||
.dynamic = true,
|
||||
});
|
||||
pointLights = graphics->createShaderBuffer(ShaderBufferCreateInfo{
|
||||
@@ -31,7 +31,7 @@ LightEnvironment::LightEnvironment(Gfx::PGraphics graphics)
|
||||
.size = sizeof(Component::PointLight) * MAX_POINT_LIGHTS,
|
||||
.data = nullptr,
|
||||
},
|
||||
.stride = sizeof(Component::PointLight),
|
||||
.numElements = MAX_POINT_LIGHTS,
|
||||
.dynamic = true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user