com.jme3.texture
列挙型 Image.Format

java.lang.Object
  上位を拡張 java.lang.Enum<Image.Format>
      上位を拡張 com.jme3.texture.Image.Format
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<Image.Format>
含まれているクラス:
Image

public static enum Image.Format
extends java.lang.Enum<Image.Format>


列挙型定数の概要
ABGR8
          8-bit alpha, blue, green, and red.
Alpha16
          16-bit alpha
Alpha8
          8-bit alpha
ARGB4444
          4-bit alpha, red, green, and blue.
BGR8
          8-bit blue, green, and red.
Depth
          Arbitrary depth format.
Depth16
          16-bit depth.
Depth24
          24-bit depth.
Depth32
          32-bit depth.
Depth32F
          single-precision floating point depth.
DXT1
          S3TC compression DXT1.
DXT1A
          S3TC compression DXT1 with 1-bit alpha.
DXT3
          S3TC compression DXT3 with 4-bit alpha.
DXT5
          S3TC compression DXT5 with interpolated 8-bit alpha.
Intensity16
           
Intensity8
           
LATC
          Luminance-Alpha Texture Compression.
LTC
          Luminance/grayscale texture compression.
Luminance16
          16-bit grayscale/luminance.
Luminance16Alpha16
          16-bit luminance/grayscale and 16-bit alpha.
Luminance16F
          half-precision floating-point grayscale/luminance.
Luminance16FAlpha16F
          half-precision floating-point grayscale/luminance and alpha.
Luminance32F
          single-precision floating-point grayscale/luminance.
Luminance8
          8-bit grayscale/luminance.
Luminance8Alpha8
          8-bit luminance/grayscale and 8-bit alpha.
RGB10
          10-bit red, green, and blue.
RGB111110F
          unsigned floating-point red, green and blue that uses 32 bits.
RGB16
          16-bit red, green, and blue.
RGB16F
          half-precision floating point red, green, and blue.
RGB16F_to_RGB111110F
          Texture data is stored as RGB16F in system memory, but will be converted to RGB111110F when sent to the video hardware.
RGB16F_to_RGB9E5
          Texture data is stored as RGB16F in system memory, but will be converted to RGB9E5 when sent to the video hardware.
RGB32F
          single-precision floating point red, green, and blue.
RGB565
          5-bit red, 6-bit green, and 5-bit blue.
RGB5A1
          5-bit red, green, and blue with 1-bit alpha.
RGB8
          8-bit red, green, and blue.
RGB9E5
          9-bit red, green and blue with 5-bit exponent.
RGBA16
          16-bit red, green, blue and alpha
RGBA16F
          half-precision floating point red, green, blue, and alpha.
RGBA32F
          single-precision floating point red, green, blue and alpha.
RGBA8
          8-bit red, green, blue, and alpha.
 
メソッドの概要
 int getBitsPerPixel()
           
 boolean isCompressed()
           
 boolean isDepthFormat()
           
 boolean isFloatingPont()
           
static Image.Format valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static Image.Format[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Alpha8

public static final Image.Format Alpha8
8-bit alpha


Alpha16

public static final Image.Format Alpha16
16-bit alpha


Luminance8

public static final Image.Format Luminance8
8-bit grayscale/luminance.


Luminance16

public static final Image.Format Luminance16
16-bit grayscale/luminance.


Luminance16F

public static final Image.Format Luminance16F
half-precision floating-point grayscale/luminance.


Luminance32F

public static final Image.Format Luminance32F
single-precision floating-point grayscale/luminance.


Luminance8Alpha8

public static final Image.Format Luminance8Alpha8
8-bit luminance/grayscale and 8-bit alpha.


Luminance16Alpha16

public static final Image.Format Luminance16Alpha16
16-bit luminance/grayscale and 16-bit alpha.


Luminance16FAlpha16F

public static final Image.Format Luminance16FAlpha16F
half-precision floating-point grayscale/luminance and alpha.


Intensity8

public static final Image.Format Intensity8

Intensity16

public static final Image.Format Intensity16

BGR8

public static final Image.Format BGR8
8-bit blue, green, and red.


RGB8

public static final Image.Format RGB8
8-bit red, green, and blue.


RGB10

public static final Image.Format RGB10
10-bit red, green, and blue.


RGB16

public static final Image.Format RGB16
16-bit red, green, and blue.


RGB565

public static final Image.Format RGB565
5-bit red, 6-bit green, and 5-bit blue.


ARGB4444

public static final Image.Format ARGB4444
4-bit alpha, red, green, and blue. Used on Android only.


RGB5A1

public static final Image.Format RGB5A1
5-bit red, green, and blue with 1-bit alpha.


RGBA8

public static final Image.Format RGBA8
8-bit red, green, blue, and alpha.


ABGR8

public static final Image.Format ABGR8
8-bit alpha, blue, green, and red.


RGBA16

public static final Image.Format RGBA16
16-bit red, green, blue and alpha


DXT1

public static final Image.Format DXT1
S3TC compression DXT1. Called BC1 in DirectX10.


DXT1A

public static final Image.Format DXT1A
S3TC compression DXT1 with 1-bit alpha.


DXT3

public static final Image.Format DXT3
S3TC compression DXT3 with 4-bit alpha. Called BC2 in DirectX10.


DXT5

public static final Image.Format DXT5
S3TC compression DXT5 with interpolated 8-bit alpha. Called BC3 in DirectX10.


LATC

public static final Image.Format LATC
Luminance-Alpha Texture Compression. Called BC5 in DirectX10.


Depth

public static final Image.Format Depth
Arbitrary depth format. The precision is chosen by the video hardware.


Depth16

public static final Image.Format Depth16
16-bit depth.


Depth24

public static final Image.Format Depth24
24-bit depth.


Depth32

public static final Image.Format Depth32
32-bit depth.


Depth32F

public static final Image.Format Depth32F
single-precision floating point depth.


RGB16F_to_RGB111110F

public static final Image.Format RGB16F_to_RGB111110F
Texture data is stored as RGB16F in system memory, but will be converted to RGB111110F when sent to the video hardware.


RGB111110F

public static final Image.Format RGB111110F
unsigned floating-point red, green and blue that uses 32 bits.


RGB16F_to_RGB9E5

public static final Image.Format RGB16F_to_RGB9E5
Texture data is stored as RGB16F in system memory, but will be converted to RGB9E5 when sent to the video hardware.


RGB9E5

public static final Image.Format RGB9E5
9-bit red, green and blue with 5-bit exponent.


RGB16F

public static final Image.Format RGB16F
half-precision floating point red, green, and blue.


RGBA16F

public static final Image.Format RGBA16F
half-precision floating point red, green, blue, and alpha.


RGB32F

public static final Image.Format RGB32F
single-precision floating point red, green, and blue.


RGBA32F

public static final Image.Format RGBA32F
single-precision floating point red, green, blue and alpha.


LTC

public static final Image.Format LTC
Luminance/grayscale texture compression. Called BC4 in DirectX10.

メソッドの詳細

values

public static Image.Format[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (Image.Format c : Image.Format.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static Image.Format valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
java.lang.IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
java.lang.NullPointerException - 引数が null の場合

getBitsPerPixel

public int getBitsPerPixel()
戻り値:
bits per pixel.

isDepthFormat

public boolean isDepthFormat()
戻り値:
True if this format is a depth format, false otherwise.

isCompressed

public boolean isCompressed()
戻り値:
True if this is a compressed image format, false if uncompressed.

isFloatingPont

public boolean isFloatingPont()
戻り値:
True if this image format is in floating point, false if it is an integer format.