Create a RenderPass, wire it to the task currently recording, and return
it. Must be called from inside Task.record() so the FG can associate the
new pass with the right task (mirrors BJS frameGraph.addRenderPass).
Configure the returned pass with setRenderPassRenderTarget,
setRenderPassExecuteFunc, etc. before the FG finishes building.
Create a
RenderPass, wire it to the task currently recording, and return it. Must be called from insideTask.record()so the FG can associate the new pass with the right task (mirrors BJSframeGraph.addRenderPass).Configure the returned pass with
setRenderPassRenderTarget,setRenderPassExecuteFunc, etc. before the FG finishes building.