Kanzi 3.9.10
SamplerAddressingMode Enum Reference

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

Inheritance diagram for SamplerAddressingMode:
[legend]

Public Member Functions

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

Public Attributes

 AddressingModeClamp =(2)
 Clamp (Open GL ES 2 compatible)
 
 AddressingModeClampBorder =(4)
 Clamp to border.
 
 AddressingModeMirror =(1)
 Mirror (Open GL ES 2 compatible)
 
 AddressingModeMirrorOnce =(3)
 Mirror once (requires extension)
 
 AddressingModeWrap =(0)
 Wrap (Open GL ES 2 compatible)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SamplerAddressingMode() [1/2]

Constructs a SamplerAddressingMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ SamplerAddressingMode() [2/2]

Constructs a copy of a SamplerAddressingMode object.

Parameters
enum_SamplerAddressingMode 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 SamplerAddressingMode 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 SamplerAddressingMode 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.