public static enum Renderer.DrawMode extends java.lang.Enum<Renderer.DrawMode>
Enum Constant and Description |
---|
LINE_LOOP
A continuous line loop formed from a sequence of vertices
|
LINE_STRIP
A continuous line strip formed from a sequence of vertices
|
LINES
A collection of line segments, with every two vertices
defining a single segment
|
POINTS
A collection of points, one per vertex
|
TRIANGLE_FAN
A triangle fan.
|
TRIANGLE_STRIP
A triangle strip.
|
TRIANGLES
A 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