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_RGB888IT_CUBE_RGBA8888IT_DEPTH16IT_DEPTH24IT_DEPTH32IT_L32FIT_L8IT_QUANTITYIT_R32IT_RGB16IT_RGB32IT_RGB888IT_RGBA16IT_RGBA32IT_RGBA8888
-
Field Summary
Fields Modifier and Type Field Description private static intm_iInitValueprivate intm_iValueprivate intms_aiBytesPerPixelprivate java.lang.Stringms_akFormatName
-
Constructor Summary
Constructors Modifier Constructor Description privateFormatMode(int iBytesPerPixel, java.lang.String kFormatName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intBytesPerPixel()java.lang.StringFormatName()private intInit()intValue()static GraphicsImage.FormatModevalueOf(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()
-
-