public static enum Texture.WrapMode extends java.lang.Enum<Texture.WrapMode>
Enum Constant and Description |
---|
BorderClamp
Deprecated.
Not supported by OpenGL 3 or OpenGL ES 2
|
Clamp
Deprecated.
Not supported by OpenGL 3
|
EdgeClamp
coordinate will be clamped to the range [1/(2N), 1 - 1/(2N)] where N
is the size of the texture in the direction of clamping.
|
MirrorBorderClamp
Deprecated.
Not supported by OpenGL 3
|
MirrorClamp
Deprecated.
Not supported by OpenGL 3
|
MirrorEdgeClamp
Deprecated.
Not supported by OpenGL 3
|
MirroredRepeat
Only the fractional portion of the coordinate is considered, but if
the integer portion is odd, we'll use 1 - the fractional portion.
|
Repeat
Only the fractional portion of the coordinate is considered.
|
Modifier and Type | Method and Description |
---|---|
static Texture.WrapMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.WrapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.WrapMode Repeat
public static final Texture.WrapMode MirroredRepeat
@Deprecated public static final Texture.WrapMode Clamp
@Deprecated public static final Texture.WrapMode MirrorClamp
mirrorClamp(f) = min(1, max(1/(2*N),
abs(f)))
where N
is the size of the one-, two-, or three-dimensional texture image in
the direction of wrapping. (Introduced after OpenGL1.4) Falls back on
Clamp if not supported.@Deprecated public static final Texture.WrapMode BorderClamp
@Deprecated public static final Texture.WrapMode MirrorBorderClamp
mirrorClampToBorder(f) = min(1+1/(2*N), max(1/(2*N), abs(f)))
where N is the size of the one-, two-, or three-dimensional texture
image in the direction of wrapping. (Introduced after OpenGL1.4)
Falls back on BorderClamp if not supported.public static final Texture.WrapMode EdgeClamp
@Deprecated public static final Texture.WrapMode MirrorEdgeClamp
mirrorClampToEdge(f) = min(1-1/(2*N), max(1/(2*N), abs(f)))
where N is the size of the one-, two-, or three-dimensional texture
image in the direction of wrapping. (Introduced after OpenGL1.4)
Falls back on EdgeClamp if not supported.public static Texture.WrapMode[] values()
for (Texture.WrapMode c : Texture.WrapMode.values()) System.out.println(c);
public static Texture.WrapMode 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