Drawable Renderer (#1570), Sync from PR 1

This commit is contained in:
mwilsnd
2023-07-25 16:35:04 -04:00
committed by Bart Louwers
parent 62deb02265
commit 780053622c
23 changed files with 48 additions and 48 deletions

View File

@@ -69,7 +69,7 @@ void FillLayerTweaker::execute(LayerGroupBase& layerGroup,
propsBuffer = context.createUniformBuffer(&paramsUBO, sizeof(paramsUBO));
}
layerGroup.observeDrawables([&](gfx::Drawable& drawable) {
layerGroup.visitDrawables([&](gfx::Drawable& drawable) {
auto& uniforms = drawable.mutableUniformBuffers();
uniforms.addOrReplace(FillDrawablePropsUBOName, propsBuffer);