Kanzi  3.9.9
Kanzi Engine Java API
PipelineStateRenderPassEnums.ViewportMode Enum Reference
Inheritance diagram for PipelineStateRenderPassEnums.ViewportMode:
[legend]

Public Member Functions

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

Public Attributes

 ViewportModeAbsolute =(0)
 Absolute viewport - pixel coordinates.
 
 ViewportModeRelative =(1)
 Relative viewport - percentage of current render context size.
 

Constructor & Destructor Documentation

ViewportMode ( int  value)

Constructs a ViewportMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a ViewportMode object.

Parameters
enum_ViewportMode to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static ViewportMode 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 ViewportMode 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.