Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
SetColorMaskStep Class Reference

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
 

Detailed Description

Set color mask when rendering the next steps.

Constructor & Destructor Documentation

◆ SetColorMaskStep()

SetColorMaskStep::SetColorMaskStep ( int color_mask)

Member Function Documentation

◆ run()

void SetColorMaskStep::run ( PipelineContext & context)
overridevirtual

Runs the step.

This method is invoked by the pipeline.

Implements RenderStep.

References color_mask, and PipelineContext::device.

Member Data Documentation

◆ color_mask

int SetColorMaskStep::color_mask
private

Referenced by run().


The documentation for this class was generated from the following files: