Package WildMagic.LibGraphics.Rendering
Enum Texture.Type
- java.lang.Object
-
- java.lang.Enum<Texture.Type>
-
- WildMagic.LibGraphics.Rendering.Texture.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Texture.Type>
- Enclosing class:
- Texture
public static enum Texture.Type extends java.lang.Enum<Texture.Type>
Type of Sampler
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_SAMPLER_TYPES
SAMPLER_1D
SAMPLER_2D
SAMPLER_3D
SAMPLER_CUBE
SAMPLER_PROJ
SAMPLER_RECTANGLE
-
Field Summary
Fields Modifier and Type Field Description private static int
m_iInitValue
private int
m_iValue
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
Init()
int
Value()
static Texture.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Texture.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAMPLER_1D
public static final Texture.Type SAMPLER_1D
-
SAMPLER_2D
public static final Texture.Type SAMPLER_2D
-
SAMPLER_3D
public static final Texture.Type SAMPLER_3D
-
SAMPLER_CUBE
public static final Texture.Type SAMPLER_CUBE
-
SAMPLER_PROJ
public static final Texture.Type SAMPLER_PROJ
-
SAMPLER_RECTANGLE
public static final Texture.Type SAMPLER_RECTANGLE
-
MAX_SAMPLER_TYPES
public static final Texture.Type MAX_SAMPLER_TYPES
-
-
Method Detail
-
values
public static Texture.Type[] 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 (Texture.Type c : Texture.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Texture.Type 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
-
Value
public int Value()
-
Init
private int Init()
-
-