com.jme3.material
列挙型 RenderState.StencilOperation

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

public static enum RenderState.StencilOperation
extends java.lang.Enum<RenderState.StencilOperation>

StencilOperation specifies the stencil operation to use in a certain scenario as specified in RenderState#setStencil(boolean, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilOperation, com.jme3.material.RenderState.StencilFunction, com.jme3.material.RenderState.StencilFunction)


列挙型定数の概要
Decrement
          Decrement the value in the stencil buffer and clamp once reaching 0.
DecrementWrap
          Decrement the value in the stencil buffer and wrap to the maximum value when reaching 0.
Increment
          Increment the value in the stencil buffer, clamp once reaching the maximum value.
IncrementWrap
          Increment the value in the stencil buffer and wrap to 0 when reaching the maximum value.
Invert
          Does a bitwise invert of the value in the stencil buffer.
Keep
          Keep the current value.
Replace
          Replace the value in the stencil buffer with the reference value.
Zero
          Set the value to 0
 
メソッドの概要
static RenderState.StencilOperation valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static RenderState.StencilOperation[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Keep

public static final RenderState.StencilOperation Keep
Keep the current value.


Zero

public static final RenderState.StencilOperation Zero
Set the value to 0


Replace

public static final RenderState.StencilOperation Replace
Replace the value in the stencil buffer with the reference value.


Increment

public static final RenderState.StencilOperation Increment
Increment the value in the stencil buffer, clamp once reaching the maximum value.


IncrementWrap

public static final RenderState.StencilOperation IncrementWrap
Increment the value in the stencil buffer and wrap to 0 when reaching the maximum value.


Decrement

public static final RenderState.StencilOperation Decrement
Decrement the value in the stencil buffer and clamp once reaching 0.


DecrementWrap

public static final RenderState.StencilOperation DecrementWrap
Decrement the value in the stencil buffer and wrap to the maximum value when reaching 0.


Invert

public static final RenderState.StencilOperation Invert
Does a bitwise invert of the value in the stencil buffer.

メソッドの詳細

values

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

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

valueOf

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

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