org.xith3d.loaders.texture
Enum TextureLoader.FlipMode

java.lang.Object
  extended by java.lang.Enum<TextureLoader.FlipMode>
      extended by org.xith3d.loaders.texture.TextureLoader.FlipMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextureLoader.FlipMode>
Enclosing class:
TextureLoader

public static enum TextureLoader.FlipMode
extends java.lang.Enum<TextureLoader.FlipMode>

The FlipMode defines if Textures are to be vertically flipped at load time.


Enum Constant Summary
FLIPPED_VERTICALLY
          The Texture is flipped vertically
NOT_FLIPPED
          The Texture is loaded as is (not flipped).
 
Method Summary
 boolean getBooleanValue()
           
static TextureLoader.FlipMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextureLoader.FlipMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_FLIPPED

public static final TextureLoader.FlipMode NOT_FLIPPED
The Texture is loaded as is (not flipped).


FLIPPED_VERTICALLY

public static final TextureLoader.FlipMode FLIPPED_VERTICALLY
The Texture is flipped vertically

Method Detail

values

public static TextureLoader.FlipMode[] 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 (TextureLoader.FlipMode c : TextureLoader.FlipMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TextureLoader.FlipMode 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 name
java.lang.NullPointerException - if the argument is null

getBooleanValue

public final boolean getBooleanValue()