Kanzi 3.9.10
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.
 
 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.
 

Detailed Description

Pixel formats.

Constructor & Destructor Documentation

◆ PixelFormat() [1/2]

PixelFormat ( int value)

Constructs a PixelFormat of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ PixelFormat() [2/2]

Constructs a copy of a PixelFormat object.

Parameters
enum_PixelFormat 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 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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.