Kanzi  3.9.5
Java API
SamplerMipmapMode Enum Reference
Inheritance diagram for SamplerMipmapMode:
[legend]

Public Member Functions

 SamplerMipmapMode (int mValue)
 
 SamplerMipmapMode (SamplerMipmapMode enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static SamplerMipmapMode swigToEnum (int swigValue)
 
static SamplerMipmapMode toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 MipmapModeBase
 When sampling texture, use only base level image, no mipmap images are used/needed.
 
 MipmapModeNearest
 When sampling texture, pick one image, the nearest mipmap level, mipmap images are needed.
 

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ 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.