public enum RenderingMode extends java.lang.Enum<RenderingMode>
Enum Constant and Description |
---|
HARDWARE_ACCELERATED
The engine renders content using GPU and displays it directly on a surface.
|
OFF_SCREEN
The engine renders content using GPU and copies the pixels to the process memory.
|
Modifier and Type | Method and Description |
---|---|
static RenderingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderingMode HARDWARE_ACCELERATED
public static final RenderingMode OFF_SCREEN
public static RenderingMode[] values()
for (RenderingMode c : RenderingMode.values()) System.out.println(c);
public static RenderingMode 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