public static enum Renderer.DrawMode extends java.lang.Enum<Renderer.DrawMode>
| Enum Constant and Description | 
|---|
| LINE_LOOPA continuous line loop formed from a sequence of vertices | 
| LINE_STRIPA continuous line strip formed from a sequence of vertices | 
| LINESA collection of line segments, with every two vertices
 defining a single segment | 
| POINTSA collection of points, one per vertex | 
| TRIANGLE_FANA triangle fan. | 
| TRIANGLE_STRIPA triangle strip. | 
| TRIANGLESA collection of triangles, with each three successive vertices
 defining a single triangle | 
| Modifier and Type | Method and Description | 
|---|---|
| static Renderer.DrawMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static Renderer.DrawMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Renderer.DrawMode POINTS
public static final Renderer.DrawMode LINES
public static final Renderer.DrawMode LINE_STRIP
public static final Renderer.DrawMode LINE_LOOP
public static final Renderer.DrawMode TRIANGLES
public static final Renderer.DrawMode TRIANGLE_STRIP
public static final Renderer.DrawMode TRIANGLE_FAN
public static Renderer.DrawMode[] values()
for (Renderer.DrawMode c : Renderer.DrawMode.values()) System.out.println(c);
public static Renderer.DrawMode 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