public static enum SoTexture.Models extends java.lang.Enum<SoTexture.Models> implements IntegerValuedEnum
Enum Constant and Description |
---|
ADD
Adds incoming fragment and texture source colors.
|
BLEND
Blends between the surface color and a specified blend color.
|
COMBINE
Provides a wide range of programmable combiner functions using the incoming fragment color, texture source color, texture constant color, and the result of the previous texture environment stage as possible parameters.
|
DECAL
In this mode, OpenGL requires that the specified texture image have either 3 or 4 components.
|
MODULATE
The texture color is multiplied by the surface color.
|
REPLACE
The texture color replaces the surface color.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoTexture.Models |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoTexture.Models |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoTexture.Models[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoTexture.Models MODULATE
public static final SoTexture.Models DECAL
public static final SoTexture.Models BLEND
public static final SoTexture.Models REPLACE
public static final SoTexture.Models ADD
public static final SoTexture.Models COMBINE
public static SoTexture.Models[] values()
for (SoTexture.Models c : SoTexture.Models.values()) System.out.println(c);
public static SoTexture.Models valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoTexture.Models valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com