Package com.ijurnove.cpu3d
Enum Class SceneInitFlag
- All Implemented Interfaces:
Serializable,Comparable<SceneInitFlag>,Constable
SceneInitFlag values are used as keys in SceneInitFlags. Each flag has a corresponding value in each SceneInitFlags object.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSets the width of the image returned byScene.render().Sets the height of the image returned byScene.render().Modifies the width of the image being rendered.Modifies the height of the image being rendered.Modifies the shadow rendering width.Modifies the shadow rendering height.When aSceneis being rendered, the screen is split into segments vertically and horizontally.When aSceneis being rendered, the screen is split into segments vertically and horizontally. -
Method Summary
Modifier and TypeMethodDescriptionstatic SceneInitFlagReturns the enum constant of this class with the specified name.static SceneInitFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMAGE_SIZE_ACROSS
Sets the width of the image returned byScene.render().
Default value is the width of the screen. -
IMAGE_SIZE_UP
Sets the height of the image returned byScene.render().
Default value is the height of the screen. -
RESOLUTION_MULTIPLIER_ACROSS
Modifies the width of the image being rendered. The image is automatically upscaled back to the width and height given byIMAGE_SIZE_ACROSSandIMAGE_SIZE_UP.
Default value is 1. -
RESOLUTION_MULTIPLIER_UP
Modifies the height of the image being rendered. The image is automatically upscaled back to the width and height given byIMAGE_SIZE_ACROSSandIMAGE_SIZE_UP.
Default value is 1. -
SHADOW_RESOLUTION_ACROSS
Modifies the shadow rendering width. Higher values will result in sharper shadows, but longer rendering times.
Default value is 2048. -
SHADOW_RESOLUTION_UP
Modifies the shadow rendering height. Higher values will result in sharper shadows, but longer rendering times.
Default value is 2048. -
THREADS_ACROSS
When aSceneis being rendered, the screen is split into segments vertically and horizontally. Each segment is rendered by a different thread.THREADS_ACROSScontrols the number of horizontal divisions.
Default value is 3. -
THREADS_UP
When aSceneis being rendered, the screen is split into segments vertically and horizontally. Each segment is rendered by a different thread.THREADS_UPcontrols the number of vertical divisions.
Default value is 3.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-