Set color mask when rendering the next steps. More...
#include <anaglyph.h>
Inheritance diagram for SetColorMaskStep:
Collaboration diagram for SetColorMaskStep:Public Member Functions | |
| SetColorMaskStep (int color_mask) | |
| SetColorMaskStep step. | |
| 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 | |
| int | color_mask |
Set color mask when rendering the next steps.
| SetColorMaskStep::SetColorMaskStep | ( | int | color_mask | ) |
SetColorMaskStep step.
|
overridevirtual |
Runs the step.
This method is invoked by the pipeline.
Implements RenderStep.
References color_mask, and PipelineContext::device.
|
private |
Referenced by run().