|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WrapMode>
com.neovisionaries.android.opengl.WrapMode
public enum WrapMode
Wrap modes for GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T.
Texture.setWrapS(WrapMode)
,
Texture.setWrapT(WrapMode)
,
glTexParameterEnum Constant Summary | |
---|---|
CLAMP_TO_EDGE
GL_CLAMP_TO_EDGE. |
|
MIRRORED_REPEAT
GL_MIRRORED_REPEAT. |
|
REPEAT
GL_REPEAT. |
Method Summary | |
---|---|
int |
getMode()
Get the integer representing this wrap mode. |
static WrapMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WrapMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WrapMode REPEAT
public static final WrapMode CLAMP_TO_EDGE
public static final WrapMode MIRRORED_REPEAT
Method Detail |
---|
public static WrapMode[] values()
for (WrapMode c : WrapMode.values()) System.out.println(c);
public static WrapMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |