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

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() [1/2]

Constructs a SamplerMipmapMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ SamplerMipmapMode() [2/2]

Constructs a copy of a SamplerMipmapMode object.

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

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.