Package WildMagic.LibGraphics.Rendering
Enum GraphicsImage.FormatMode
- java.lang.Object
-
- java.lang.Enum<GraphicsImage.FormatMode>
-
- WildMagic.LibGraphics.Rendering.GraphicsImage.FormatMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GraphicsImage.FormatMode>
- Enclosing class:
- GraphicsImage
public static enum GraphicsImage.FormatMode extends java.lang.Enum<GraphicsImage.FormatMode>
GraphicsImage format mode:
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IT_CUBE_RGB888
IT_CUBE_RGBA8888
IT_DEPTH16
IT_DEPTH24
IT_DEPTH32
IT_L32F
IT_L8
IT_QUANTITY
IT_R32
IT_RGB16
IT_RGB32
IT_RGB888
IT_RGBA16
IT_RGBA32
IT_RGBA8888
-
Field Summary
Fields Modifier and Type Field Description private static int
m_iInitValue
private int
m_iValue
private int
ms_aiBytesPerPixel
private java.lang.String
ms_akFormatName
-
Constructor Summary
Constructors Modifier Constructor Description private
FormatMode(int iBytesPerPixel, java.lang.String kFormatName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
BytesPerPixel()
java.lang.String
FormatName()
private int
Init()
int
Value()
static GraphicsImage.FormatMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GraphicsImage.FormatMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IT_RGB888
public static final GraphicsImage.FormatMode IT_RGB888
-
IT_RGBA8888
public static final GraphicsImage.FormatMode IT_RGBA8888
-
IT_DEPTH16
public static final GraphicsImage.FormatMode IT_DEPTH16
-
IT_DEPTH24
public static final GraphicsImage.FormatMode IT_DEPTH24
-
IT_DEPTH32
public static final GraphicsImage.FormatMode IT_DEPTH32
-
IT_CUBE_RGB888
public static final GraphicsImage.FormatMode IT_CUBE_RGB888
-
IT_CUBE_RGBA8888
public static final GraphicsImage.FormatMode IT_CUBE_RGBA8888
-
IT_RGB32
public static final GraphicsImage.FormatMode IT_RGB32
-
IT_RGBA32
public static final GraphicsImage.FormatMode IT_RGBA32
-
IT_L8
public static final GraphicsImage.FormatMode IT_L8
-
IT_L32F
public static final GraphicsImage.FormatMode IT_L32F
-
IT_RGB16
public static final GraphicsImage.FormatMode IT_RGB16
-
IT_RGBA16
public static final GraphicsImage.FormatMode IT_RGBA16
-
IT_R32
public static final GraphicsImage.FormatMode IT_R32
-
IT_QUANTITY
public static final GraphicsImage.FormatMode IT_QUANTITY
-
-
Method Detail
-
values
public static GraphicsImage.FormatMode[] 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 (GraphicsImage.FormatMode c : GraphicsImage.FormatMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphicsImage.FormatMode 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
-
BytesPerPixel
public int BytesPerPixel()
-
FormatName
public java.lang.String FormatName()
-
Value
public int Value()
-
Init
private int Init()
-
-