Defines the mask texture channels that you can use as the mask. More...
Public Member Functions | |
| Channel (int value) | |
| Constructs a Channel of an integer value. More... | |
| Channel (Channel enum_) | |
| Constructs a copy of a Channel object. More... | |
| int | getValue () |
| Returns the integer value of the enumeration constant. More... | |
| final int | swigValue () |
| Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
| static Channel | swigToEnum (int swigValue) |
| Converts an integer value to the matching enumeration constant. More... | |
| static Channel | toEnum (int value) |
| Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
| Alpha =(0) | |
| Uses the alpha channel as the mask. | |
| Blue =(3) | |
| Uses the blue color channel as the mask. | |
| Green =(2) | |
| Uses the green color channel as the mask. | |
| Luminance =(4) | |
| Uses the luminance calculated from the red, green, and blue color channels as the mask. | |
| Red =(1) | |
| Uses the red color channel as the mask. | |
Defines the mask texture channels that you can use as the mask.
| Channel | ( | int | value | ) |
Constructs a Channel of an integer value.
| value | Integer value to convert to enumeration constant. |
| 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. |
| final int swigValue | ( | ) |
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. |