Kanzi 4.1.0
ColorWriteMask Enum Reference

Defines the write mask bits. More...

Inheritance diagram for ColorWriteMask:
[legend]

Public Member Functions

 ColorWriteMask (ColorWriteMask enum_)
 Constructs a copy of a ColorWriteMask object.
 
 ColorWriteMask (int value)
 Constructs a ColorWriteMask of an integer value.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static ColorWriteMask swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static ColorWriteMask toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 A =(8)
 Alpha channel.
 
 B =(4)
 Blue channel.
 
 G =(2)
 Green channel.
 
 None =(0)
 No channels written.
 
 R =(1)
 Red channel.
 
 RGB =(7)
 Red, green, and blue channels.
 
 RGBA =(15)
 All channels.
 

Detailed Description

Defines the write mask bits.

Constructor & Destructor Documentation

◆ ColorWriteMask() [1/2]

ColorWriteMask ( int value)

Constructs a ColorWriteMask of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ ColorWriteMask() [2/2]

Constructs a copy of a ColorWriteMask object.

Parameters
enum_ColorWriteMask to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static ColorWriteMask swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static ColorWriteMask toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.