Kanzi  3.9.9
Kanzi Engine Java API
SamplerMipmapMode Enum Reference

Legacy version of enum "kanzi.Sampler.MipmapMode". More...

Inheritance diagram for SamplerMipmapMode:
[legend]

Public Member Functions

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

Public Attributes

 MipmapModeBase =(0)
 When sampling texture, use only base level image, no mipmap images are used/needed.
 
 MipmapModeLinear =(2)
 When sampling texture, pick two nearest mipmap level images, mipmap images are needed.
 
 MipmapModeNearest =(1)
 When sampling texture, pick one image, the nearest mipmap level, mipmap images are needed.
 

Detailed Description

Legacy version of enum "kanzi.Sampler.MipmapMode".

Constructor & Destructor Documentation

SamplerMipmapMode ( int  value)

Constructs a SamplerMipmapMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a SamplerMipmapMode object.

Parameters
enum_SamplerMipmapMode to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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