org.ogre4j
Enum PixelFormat

java.lang.Object
  extended by java.lang.Enum<PixelFormat>
      extended by org.ogre4j.PixelFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PixelFormat>, INativeEnum<PixelFormat>

public enum PixelFormat
extends java.lang.Enum<PixelFormat>
implements INativeEnum<PixelFormat>


Enum Constant Summary
PF_A1R5G5B5
           
PF_A2B10G10R10
           
PF_A2R10G10B10
           
PF_A4L4
           
PF_A4R4G4B4
           
PF_A8
           
PF_A8B8G8R8
           
PF_A8R8G8B8
           
PF_B5G6R5
           
PF_B8G8R8
           
PF_B8G8R8A8
           
PF_BYTE_A
           
PF_BYTE_BGR
           
PF_BYTE_BGRA
           
PF_BYTE_L
           
PF_BYTE_LA
           
PF_BYTE_RGB
           
PF_BYTE_RGBA
           
PF_COUNT
           
PF_DEPTH
           
PF_DXT1
           
PF_DXT2
           
PF_DXT3
           
PF_DXT4
           
PF_DXT5
           
PF_FLOAT16_GR
           
PF_FLOAT16_R
           
PF_FLOAT16_RGB
           
PF_FLOAT16_RGBA
           
PF_FLOAT32_GR
           
PF_FLOAT32_R
           
PF_FLOAT32_RGB
           
PF_FLOAT32_RGBA
           
PF_L16
           
PF_L8
           
PF_R3G3B2
           
PF_R5G6B5
           
PF_R8G8B8
           
PF_R8G8B8A8
           
PF_SHORT_GR
           
PF_SHORT_L
           
PF_SHORT_RGB
           
PF_SHORT_RGBA
           
PF_UNKNOWN
           
PF_X8B8G8R8
           
PF_X8R8G8B8
           
 
Method Summary
 PixelFormat getEnum(int val)
          Returns the enumeration value for the passed integer.
 int getValue()
          Returns the integer value of this enumeration value.
static PixelFormat toEnum(int retval)
           
static PixelFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PixelFormat[] 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

PF_UNKNOWN

public static final PixelFormat PF_UNKNOWN

PF_L8

public static final PixelFormat PF_L8

PF_BYTE_L

public static final PixelFormat PF_BYTE_L

PF_L16

public static final PixelFormat PF_L16

PF_SHORT_L

public static final PixelFormat PF_SHORT_L

PF_A8

public static final PixelFormat PF_A8

PF_BYTE_A

public static final PixelFormat PF_BYTE_A

PF_A4L4

public static final PixelFormat PF_A4L4

PF_BYTE_LA

public static final PixelFormat PF_BYTE_LA

PF_R5G6B5

public static final PixelFormat PF_R5G6B5

PF_B5G6R5

public static final PixelFormat PF_B5G6R5

PF_R3G3B2

public static final PixelFormat PF_R3G3B2

PF_A4R4G4B4

public static final PixelFormat PF_A4R4G4B4

PF_A1R5G5B5

public static final PixelFormat PF_A1R5G5B5

PF_R8G8B8

public static final PixelFormat PF_R8G8B8

PF_B8G8R8

public static final PixelFormat PF_B8G8R8

PF_A8R8G8B8

public static final PixelFormat PF_A8R8G8B8

PF_A8B8G8R8

public static final PixelFormat PF_A8B8G8R8

PF_B8G8R8A8

public static final PixelFormat PF_B8G8R8A8

PF_R8G8B8A8

public static final PixelFormat PF_R8G8B8A8

PF_X8R8G8B8

public static final PixelFormat PF_X8R8G8B8

PF_X8B8G8R8

public static final PixelFormat PF_X8B8G8R8

PF_BYTE_RGB

public static final PixelFormat PF_BYTE_RGB

PF_BYTE_BGR

public static final PixelFormat PF_BYTE_BGR

PF_BYTE_BGRA

public static final PixelFormat PF_BYTE_BGRA

PF_BYTE_RGBA

public static final PixelFormat PF_BYTE_RGBA

PF_A2R10G10B10

public static final PixelFormat PF_A2R10G10B10

PF_A2B10G10R10

public static final PixelFormat PF_A2B10G10R10

PF_DXT1

public static final PixelFormat PF_DXT1

PF_DXT2

public static final PixelFormat PF_DXT2

PF_DXT3

public static final PixelFormat PF_DXT3

PF_DXT4

public static final PixelFormat PF_DXT4

PF_DXT5

public static final PixelFormat PF_DXT5

PF_FLOAT16_R

public static final PixelFormat PF_FLOAT16_R

PF_FLOAT16_RGB

public static final PixelFormat PF_FLOAT16_RGB

PF_FLOAT16_RGBA

public static final PixelFormat PF_FLOAT16_RGBA

PF_FLOAT32_R

public static final PixelFormat PF_FLOAT32_R

PF_FLOAT32_RGB

public static final PixelFormat PF_FLOAT32_RGB

PF_FLOAT32_RGBA

public static final PixelFormat PF_FLOAT32_RGBA

PF_FLOAT16_GR

public static final PixelFormat PF_FLOAT16_GR

PF_FLOAT32_GR

public static final PixelFormat PF_FLOAT32_GR

PF_DEPTH

public static final PixelFormat PF_DEPTH

PF_SHORT_RGBA

public static final PixelFormat PF_SHORT_RGBA

PF_SHORT_GR

public static final PixelFormat PF_SHORT_GR

PF_SHORT_RGB

public static final PixelFormat PF_SHORT_RGB

PF_COUNT

public static final PixelFormat PF_COUNT
Method Detail

values

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

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

valueOf

public static PixelFormat 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

getValue

public int getValue()
Description copied from interface: INativeEnum
Returns the integer value of this enumeration value.

Specified by:
getValue in interface INativeEnum<PixelFormat>

getEnum

public PixelFormat getEnum(int val)
Description copied from interface: INativeEnum
Returns the enumeration value for the passed integer.

Specified by:
getEnum in interface INativeEnum<PixelFormat>

toEnum

public static final PixelFormat toEnum(int retval)


Copyright © 2007 netAllied GmbH. All Rights Reserved.