com.jme.image
Enum Texture.RenderToTextureType

java.lang.Object
  extended by java.lang.Enum<Texture.RenderToTextureType>
      extended by com.jme.image.Texture.RenderToTextureType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Texture.RenderToTextureType>
Enclosing class:
Texture

public static enum Texture.RenderToTextureType
extends java.lang.Enum<Texture.RenderToTextureType>

When doing RenderToTexture operations with this texture, this value indicates what content to render into this texture.


Enum Constant Summary
Alpha
          Each element is a luminance/alpha pair.
Alpha12
           
Alpha16
           
Alpha16F
           
Alpha32F
           
Alpha4
           
Alpha8
           
Depth
          Each element is a single depth component clamped to the range [0, 1].
Depth16
           
Depth24
           
Depth32
           
Intensity
          Each element has both luminance (grayness) and alpha (transparency) information, but the luminance and alpha values at every texel are the same.
Intensity12
           
Intensity16
           
Intensity16F
           
Intensity32F
           
Intensity4
           
Intensity8
           
Luminance
          Each element is a single luminance value.
Luminance12
           
Luminance12Alpha12
           
Luminance12Alpha4
           
Luminance16
           
Luminance16Alpha16
           
Luminance16F
           
Luminance32F
           
Luminance4
           
Luminance4Alpha4
           
Luminance6Alpha2
           
Luminance8
           
Luminance8Alpha8
           
LuminanceAlpha
          Each element is a luminance/alpha pair.
LuminanceAlpha16F
           
LuminanceAlpha32F
           
R3_G3_B2
           
RGB
          Each element is an RGB triple.
RGB10
           
RGB10_A2
           
RGB12
           
RGB16
           
RGB16F
           
RGB32F
           
RGB4
           
RGB5
           
RGB5_A1
           
RGB8
           
RGBA
          Each element contains all four components.
RGBA12
           
RGBA16
           
RGBA16F
           
RGBA2
           
RGBA32F
           
RGBA4
           
RGBA8
           
 
Method Summary
static Texture.RenderToTextureType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Texture.RenderToTextureType[] 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

RGB

public static final Texture.RenderToTextureType RGB
Each element is an RGB triple. OpenGL converts it to fixed-point or floating-point and assembles it into an RGBA element by attaching 1 for alpha. Each component is then clamped to the range [0,1].


RGBA

public static final Texture.RenderToTextureType RGBA
Each element contains all four components. OpenGL converts it to fixed-point or floating-point. Each component is then clamped to the range [0,1].


Depth

public static final Texture.RenderToTextureType Depth
Each element is a single depth component clamped to the range [0, 1]. Each component is then clamped to the range [0,1].


Alpha

public static final Texture.RenderToTextureType Alpha
Each element is a luminance/alpha pair. OpenGL converts it to fixed-point or floating point, then assembles it into an RGBA element by replicating the luminance value three times for red, green, and blue. Each component is then clamped to the range [0,1].


Luminance

public static final Texture.RenderToTextureType Luminance
Each element is a single luminance value. OpenGL converts it to fixed-point or floating-point, then assembles it into an RGBA element by replicating the luminance value three times for red, green, and blue and attaching 1 for alpha. Each component is then clamped to the range [0,1].


LuminanceAlpha

public static final Texture.RenderToTextureType LuminanceAlpha
Each element is a luminance/alpha pair. OpenGL converts it to fixed-point or floating point, then assembles it into an RGBA element by replicating the luminance value three times for red, green, and blue. Each component is then clamped to the range [0,1].


Intensity

public static final Texture.RenderToTextureType Intensity
Each element has both luminance (grayness) and alpha (transparency) information, but the luminance and alpha values at every texel are the same. Each component is then clamped to the range [0,1].


Alpha4

public static final Texture.RenderToTextureType Alpha4

Alpha8

public static final Texture.RenderToTextureType Alpha8

Alpha12

public static final Texture.RenderToTextureType Alpha12

Alpha16

public static final Texture.RenderToTextureType Alpha16

Depth16

public static final Texture.RenderToTextureType Depth16

Depth24

public static final Texture.RenderToTextureType Depth24

Depth32

public static final Texture.RenderToTextureType Depth32

Luminance4

public static final Texture.RenderToTextureType Luminance4

Luminance8

public static final Texture.RenderToTextureType Luminance8

Luminance12

public static final Texture.RenderToTextureType Luminance12

Luminance16

public static final Texture.RenderToTextureType Luminance16

Luminance4Alpha4

public static final Texture.RenderToTextureType Luminance4Alpha4

Luminance6Alpha2

public static final Texture.RenderToTextureType Luminance6Alpha2

Luminance8Alpha8

public static final Texture.RenderToTextureType Luminance8Alpha8

Luminance12Alpha4

public static final Texture.RenderToTextureType Luminance12Alpha4

Luminance12Alpha12

public static final Texture.RenderToTextureType Luminance12Alpha12

Luminance16Alpha16

public static final Texture.RenderToTextureType Luminance16Alpha16

Intensity4

public static final Texture.RenderToTextureType Intensity4

Intensity8

public static final Texture.RenderToTextureType Intensity8

Intensity12

public static final Texture.RenderToTextureType Intensity12

Intensity16

public static final Texture.RenderToTextureType Intensity16

R3_G3_B2

public static final Texture.RenderToTextureType R3_G3_B2

RGB4

public static final Texture.RenderToTextureType RGB4

RGB5

public static final Texture.RenderToTextureType RGB5

RGB8

public static final Texture.RenderToTextureType RGB8

RGB10

public static final Texture.RenderToTextureType RGB10

RGB12

public static final Texture.RenderToTextureType RGB12

RGB16

public static final Texture.RenderToTextureType RGB16

RGBA2

public static final Texture.RenderToTextureType RGBA2

RGBA4

public static final Texture.RenderToTextureType RGBA4

RGB5_A1

public static final Texture.RenderToTextureType RGB5_A1

RGBA8

public static final Texture.RenderToTextureType RGBA8

RGB10_A2

public static final Texture.RenderToTextureType RGB10_A2

RGBA12

public static final Texture.RenderToTextureType RGBA12

RGBA16

public static final Texture.RenderToTextureType RGBA16

RGBA32F

public static final Texture.RenderToTextureType RGBA32F

RGB32F

public static final Texture.RenderToTextureType RGB32F

Alpha32F

public static final Texture.RenderToTextureType Alpha32F

Intensity32F

public static final Texture.RenderToTextureType Intensity32F

Luminance32F

public static final Texture.RenderToTextureType Luminance32F

LuminanceAlpha32F

public static final Texture.RenderToTextureType LuminanceAlpha32F

RGBA16F

public static final Texture.RenderToTextureType RGBA16F

RGB16F

public static final Texture.RenderToTextureType RGB16F

Alpha16F

public static final Texture.RenderToTextureType Alpha16F

Intensity16F

public static final Texture.RenderToTextureType Intensity16F

Luminance16F

public static final Texture.RenderToTextureType Luminance16F

LuminanceAlpha16F

public static final Texture.RenderToTextureType LuminanceAlpha16F
Method Detail

values

public static Texture.RenderToTextureType[] 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.RenderToTextureType c : Texture.RenderToTextureType.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.RenderToTextureType 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