com.jme3.texture
列挙型 Texture.ShadowCompareMode

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

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

If this texture is a depth texture (the format is Depth*) then this value may be used to compare the texture depth to the R texture coordinate.


列挙型定数の概要
GreaterOrEqual
          Compares the 3rd texture coordinate R to the value in this depth texture.
LessOrEqual
          Compares the 3rd texture coordinate R to the value in this depth texture.
Off
          Shadow comparison mode is disabled.
 
メソッドの概要
static Texture.ShadowCompareMode valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static Texture.ShadowCompareMode[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Off

public static final Texture.ShadowCompareMode Off
Shadow comparison mode is disabled. Texturing is done normally.


LessOrEqual

public static final Texture.ShadowCompareMode LessOrEqual
Compares the 3rd texture coordinate R to the value in this depth texture. If R <= texture value then result is 1.0, otherwise, result is 0.0. If filtering is set to bilinear or trilinear the implementation may sample the texture multiple times to provide smoother results in the range [0, 1].


GreaterOrEqual

public static final Texture.ShadowCompareMode GreaterOrEqual
Compares the 3rd texture coordinate R to the value in this depth texture. If R >= texture value then result is 1.0, otherwise, result is 0.0. If filtering is set to bilinear or trilinear the implementation may sample the texture multiple times to provide smoother results in the range [0, 1].

メソッドの詳細

values

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

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

valueOf

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

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