|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<RenderState.TestFunction>
com.jme3.material.RenderState.TestFunction
public static enum RenderState.TestFunction
TestFunction
specifies the testing function for stencil test
function and alpha test function.
The functions work similarly as described except that for stencil test function, the reference value given in the stencil command is the input value while the reference is the value already in the stencil buffer.
列挙型定数の概要 | |
---|---|
Always
The test always passes |
|
Equal
The test succeeds if the input value is equal to the reference value. |
|
Greater
The test succeeds if the input value is greater than the reference value. |
|
GreaterOrEqual
The test succeeds if the input value is greater than or equal to the reference value. |
|
Less
The test succeeds if the input value is less than the reference value. |
|
LessOrEqual
The test succeeds if the input value is less than or equal to the reference value. |
|
Never
The test always fails |
|
NotEqual
The test succeeds if the input value does not equal the reference value. |
メソッドの概要 | |
---|---|
static RenderState.TestFunction |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static RenderState.TestFunction[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
クラス java.lang.Enum から継承されたメソッド |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
列挙型定数の詳細 |
---|
public static final RenderState.TestFunction Never
public static final RenderState.TestFunction Equal
public static final RenderState.TestFunction Less
public static final RenderState.TestFunction LessOrEqual
public static final RenderState.TestFunction Greater
public static final RenderState.TestFunction GreaterOrEqual
public static final RenderState.TestFunction NotEqual
public static final RenderState.TestFunction Always
メソッドの詳細 |
---|
public static RenderState.TestFunction[] values()
for (RenderState.TestFunction c : RenderState.TestFunction.values()) System.out.println(c);
public static RenderState.TestFunction valueOf(java.lang.String name)
name
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |