|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DrawingMode>
com.neovisionaries.android.opengl.DrawingMode
public enum DrawingMode
Drawing mode for ArrayDrawer
(glDrawArrays()) and
ElementDrawer
(glDrawElements()).
ArrayDrawer
,
ElementDrawer
,
glDrawArrays,
glDrawElementsEnum Constant Summary | |
---|---|
LINE_LOOP
GL_LINE_LOOP. |
|
LINE_STRIP
GL_LINE_STRIP. |
|
LINES
GL_LINES. |
|
POINTS
GL_POINTS. |
|
TRIANGLE_FAN
GL_TRIANGLE_FAN. |
|
TRIANGLE_STRIP
GL_TRIANGLE_STRIP. |
|
TRIANGLES
GL_TRIANGLES. |
Method Summary | |
---|---|
int |
getMode()
Get the integer representing this drawing mode. |
static DrawingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DrawingMode[] |
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 DrawingMode POINTS
public static final DrawingMode LINES
public static final DrawingMode LINE_STRIP
public static final DrawingMode LINE_LOOP
public static final DrawingMode TRIANGLES
public static final DrawingMode TRIANGLE_STRIP
public static final DrawingMode TRIANGLE_FAN
Method Detail |
---|
public static DrawingMode[] values()
for (DrawingMode c : DrawingMode.values()) System.out.println(c);
public static DrawingMode 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 |