Kanzi  3.9.9
Kanzi Engine Java API
Node2DEnums.PixelFormat Enum Reference

Pixel formats. More...

Inheritance diagram for Node2DEnums.PixelFormat:
[legend]

Public Member Functions

 PixelFormat (int value)
 Constructs a PixelFormat of an integer value. More...
 
 PixelFormat (PixelFormat enum_)
 Constructs a copy of a PixelFormat 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 PixelFormat swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static PixelFormat toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 Rgb =(0)
 Managed render targets use RGB format.
 
 Rgba =(1)
 Managed render targets use RGBA format.
 

Detailed Description

Pixel formats.

Constructor & Destructor Documentation

PixelFormat ( int  value)

Constructs a PixelFormat of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a PixelFormat object.

Parameters
enum_PixelFormat to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static PixelFormat 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.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static PixelFormat 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.