public static enum Canvas3D.ScreenMode extends java.lang.Enum<Canvas3D.ScreenMode>
Enum Constant and Description |
---|
OFF_SCREEN_AUTO
Specifies an off-screen Canvas3D object that is automatically rendered.
|
OFF_SCREEN_MANUAL
Specifies an off-screen Canvas3D object that is manually rendered.
|
ON_SCREEN
Specifies an on-screen Canvas3D object that is automatically rendered.
|
Modifier and Type | Method and Description |
---|---|
static Canvas3D.ScreenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Canvas3D.ScreenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Canvas3D.ScreenMode OFF_SCREEN_AUTO
public static final Canvas3D.ScreenMode OFF_SCREEN_MANUAL
A GraphicsConfigTemplate3D instance with single buffering must be used:
GraphicsConfigTemplate3D.setDoubleBuffer(GraphicsConfigTemplate3D.UNNECESSARY)
.
public static final Canvas3D.ScreenMode ON_SCREEN
public static Canvas3D.ScreenMode[] values()
for (Canvas3D.ScreenMode c : Canvas3D.ScreenMode.values()) System.out.println(c);
public static Canvas3D.ScreenMode 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