public static enum SoTexture.WrapType extends java.lang.Enum<SoTexture.WrapType> implements IntegerValuedEnum
Enum Constant and Description |
---|
CLAMP
Clamps texture coordinates to lie within 0-1 range.
|
CLAMP_TO_BORDER
Clamps texture coordinates to a range coinciding with the centers of the border texels of a texture map at each mipmap level.
|
CLAMP_TO_EDGE
Clamps texture coordinates to a range coinciding with the centers of the edge texels of a texture map at each mipmap level.
|
MIRRORED_REPEAT
The texture image is repeated in such a way that every odd repetition is a mirror image.
|
REPEAT
Repeats texture outside 0-1 texture coordinate range.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoTexture.WrapType |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoTexture.WrapType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoTexture.WrapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoTexture.WrapType REPEAT
public static final SoTexture.WrapType CLAMP
public static final SoTexture.WrapType CLAMP_TO_BORDER
public static final SoTexture.WrapType CLAMP_TO_EDGE
public static final SoTexture.WrapType MIRRORED_REPEAT
public static SoTexture.WrapType[] values()
for (SoTexture.WrapType c : SoTexture.WrapType.values()) System.out.println(c);
public static SoTexture.WrapType 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.WrapType 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