Package WildMagic.LibGraphics.Rendering
Enum FrameBuffer.FormatType
- java.lang.Object
-
- java.lang.Enum<FrameBuffer.FormatType>
-
- WildMagic.LibGraphics.Rendering.FrameBuffer.FormatType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FrameBuffer.FormatType>
- Enclosing class:
- FrameBuffer
public static enum FrameBuffer.FormatType extends java.lang.Enum<FrameBuffer.FormatType>
Frame buffer format type:
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FT_FORMAT_DEPTH
FT_FORMAT_NONE
FT_FORMAT_RGB
FT_FORMAT_RGBA
-
Constructor Summary
Constructors Modifier Constructor Description private
FormatType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FrameBuffer.FormatType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FrameBuffer.FormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FT_FORMAT_NONE
public static final FrameBuffer.FormatType FT_FORMAT_NONE
-
FT_FORMAT_RGB
public static final FrameBuffer.FormatType FT_FORMAT_RGB
-
FT_FORMAT_RGBA
public static final FrameBuffer.FormatType FT_FORMAT_RGBA
-
FT_FORMAT_DEPTH
public static final FrameBuffer.FormatType FT_FORMAT_DEPTH
-
-
Method Detail
-
values
public static FrameBuffer.FormatType[] 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 (FrameBuffer.FormatType c : FrameBuffer.FormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameBuffer.FormatType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-