public static enum RenderSettings.RenderingAPI extends Enum<RenderSettings.RenderingAPI>
Enum Constant and Description |
---|
OPENGL_ES_2 |
OPENGL_ES_3 |
Modifier and Type | Method and Description |
---|---|
static RenderSettings.RenderingAPI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderSettings.RenderingAPI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderSettings.RenderingAPI OPENGL_ES_2
public static final RenderSettings.RenderingAPI OPENGL_ES_3
public static RenderSettings.RenderingAPI[] values()
for (RenderSettings.RenderingAPI c : RenderSettings.RenderingAPI.values()) System.out.println(c);
public static RenderSettings.RenderingAPI valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null