Defines the write mask bits. More...
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. | |
Defines the write mask bits.
| ColorWriteMask | ( | int | value | ) |
Constructs a ColorWriteMask of an integer value.
| value | Integer value to convert to enumeration constant. |
| ColorWriteMask | ( | ColorWriteMask | enum_ | ) |
Constructs a copy of a ColorWriteMask object.
| enum_ | ColorWriteMask to be copy constructed. |
| int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
| swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
| value | Integer value to convert to enumeration constant. |