Philip Ashmore - 2022-10-20
  • Description has changed:

Diff:

--- old
+++ new
@@ -1,3 +1,4 @@
 # Create NaryShaderPassWithUniforms classes
-The uniforms are updated in the RenderPass which updates them in the Shader before render()
-To allow the same shader to be used more than once by a 2+ input RenderPass some FBO management is needed.
+The uniforms are updated in the RenderPass which updates them in the Shader before render(), conditional on some flag, say bool useRenderPassUniforms.
+To allow the same shader to be used more than once by a 2+ input RenderPass some FBO management would be required.
+This could be done by reference counting: [RenderPass]n:1[Shader], but is only needed if two or more RenderPasses are inputs to another RenderPass.