Pixel formats. More...
Public Member Functions | |
PixelFormat (int value) | |
Constructs a PixelFormat of an integer value. | |
PixelFormat (PixelFormat enum_) | |
Constructs a copy of a PixelFormat object. | |
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 PixelFormat | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static PixelFormat | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
Rgb =(0) | |
Managed render targets use RGB format. | |
Rgba =(1) | |
Managed render targets use RGBA format. | |
Pixel formats.
PixelFormat | ( | int | value | ) |
Constructs a PixelFormat of an integer value.
value | Integer value to convert to enumeration constant. |
PixelFormat | ( | PixelFormat | enum_ | ) |
Constructs a copy of a PixelFormat object.
enum_ | PixelFormat 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. |