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 |
|---|---|
static SoTexture.WrapType |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
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
To use this option, you must be using OpenGL 1.3 or higher, or your board must support the OpenGL GL_ARB_texture_border_clamp extension. Otherwise, GL_CLAMP is used.
public static final SoTexture.WrapType CLAMP_TO_EDGE
To use this option, you must be using OpenGL 1.2 or higher, or your board must support the OpenGL GL_EXT_texture_edge_clamp or GL_SGIS_texture_edge_clamp extension. Otherwise, GL_CLAMP is used.
public static final SoTexture.WrapType MIRRORED_REPEAT
To use this option, you must be using OpenGL 1.4 or higher, or your board must support the OpenGL GL_EXT_texture_mirrored_repeat extension. Otherwise, GL_CLAMP is used.
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 null@Deprecated public static SoTexture.WrapType fromValue(int val)
valueOf(int) instead.public static SoTexture.WrapType valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com