Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::ColorMask Class Reference

The ColorMask class represents the color channel writing during rendering. More...

#include <state.h>

Inheritance diagram for cil::ColorMask:
cil::State cil::Object

Public Member Functions

 ColorMask (bool red=true, bool green=true, bool blue=true, bool alpha=true)
 
- Public Member Functions inherited from cil::State
 State ()
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

bool red
 This flag determines whether the red color channel is written to the framebuffer.
 
bool green
 Similar to red.
 
bool blue
 Similar to red.
 
bool alpha
 Similar to red.
 

Additional Inherited Members

- Protected Attributes inherited from cil::State
std::string m_className
 

Detailed Description

The ColorMask class represents the color channel writing during rendering.

Constructor & Destructor Documentation

◆ ColorMask()

cil::ColorMask::ColorMask ( bool red = true,
bool green = true,
bool blue = true,
bool alpha = true )

Member Data Documentation

◆ alpha

bool cil::ColorMask::alpha

Similar to red.

◆ blue

bool cil::ColorMask::blue

Similar to red.

◆ green

bool cil::ColorMask::green

Similar to red.

◆ red

bool cil::ColorMask::red

This flag determines whether the red color channel is written to the framebuffer.