Enum Camera.Compositor
- java.lang.Object
-
- java.lang.Enum<Camera.Compositor>
-
- be.yildizgames.module.graphic.camera.Camera.Compositor
-
- All Implemented Interfaces:
Serializable,Comparable<Camera.Compositor>
- Enclosing class:
- Camera
public static enum Camera.Compositor extends Enum<Camera.Compositor>
Possible compositor.- Author:
- Grégory Van den Borre
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACK_AND_WHITEBlack and white compositor.BLOOMBloom compositor.GLOWGlow compositor.HDRHDR compositor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static Camera.CompositorvalueOf(String name)Returns the enum constant of this type with the specified name.static Camera.Compositor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOW
public static final Camera.Compositor GLOW
Glow compositor.
-
BLOOM
public static final Camera.Compositor BLOOM
Bloom compositor.
-
BLACK_AND_WHITE
public static final Camera.Compositor BLACK_AND_WHITE
Black and white compositor.
-
HDR
public static final Camera.Compositor HDR
HDR compositor.
-
-
Method Detail
-
values
public static Camera.Compositor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Camera.Compositor c : Camera.Compositor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Camera.Compositor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
- Returns:
- The compositor name.
-
-