Dynamically changes render target of another step. More...
#include <pipeline.h>
Inheritance diagram for SetRenderTargetStep:
Collaboration diagram for SetRenderTargetStep:Public Member Functions | |
| SetRenderTargetStep (RenderStep *step, RenderTarget *target) | |
| virtual void | run (PipelineContext &context) override |
| Runs the step. | |
Public Member Functions inherited from TrivialRenderStep | |
| virtual void | setRenderSource (RenderSource *source) override |
| Assigns render source to this step. | |
| virtual void | setRenderTarget (RenderTarget *target) override |
| Assigned render target to this step. | |
| virtual void | reset (PipelineContext &) override |
Public Member Functions inherited from RenderPipelineObject | |
| virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
| RenderStep * | step |
| RenderTarget * | target |
Dynamically changes render target of another step.
This allows re-running parts of the pipeline with different outputs
| SetRenderTargetStep::SetRenderTargetStep | ( | RenderStep * | step, |
| RenderTarget * | target ) |
|
overridevirtual |
Runs the step.
This method is invoked by the pipeline.
Implements RenderStep.
References RenderStep::setRenderTarget(), step, and target.
Here is the call graph for this function:
|
private |
Referenced by run().
|
private |
Referenced by run().