StencilState
Inheritance: java.lang.Object
public class StencilState
面ごとのステンシルステート。
メソッド
| メソッド | 説明 |
|---|---|
| equals(Object obj) | このインスタンスが指定されたオブジェクトと等しいかどうかを示す値を返します。 |
| getClass() | |
| getCompare() | ステンシルテストで使用される比較関数を取得します |
| getDepthFailAction() | ステンシルテストは合格だが深度テストが失敗したときのステンシルアクションを取得します。 |
| getFailAction() | ステンシルテストが失敗したときのステンシルアクションを取得します。 |
| getPassAction() | ステンシルテストと深度テストの両方が合格したときのステンシルアクションを取得します。 |
| hashCode() | このインスタンスのハッシュコードを返します。 |
| notify() | |
| notifyAll() | |
| setCompare(CompareFunction value) | ステンシルテストで使用される比較関数を設定します |
| setDepthFailAction(StencilAction value) | ステンシルテストは合格だが深度テストが失敗したときのステンシルアクションを設定します。 |
| setFailAction(StencilAction value) | ステンシルテストが失敗したときのステンシルアクションを設定します。 |
| setPassAction(StencilAction value) | ステンシルテストと深度テストの両方が合格したときのステンシルアクションを設定します。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object obj)
public boolean equals(Object obj)
このインスタンスが指定されたオブジェクトと等しいかどうかを示す値を返します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCompare()
public CompareFunction getCompare()
ステンシルテストで使用される比較関数を取得します
Returns: CompareFunction - the compare function used in stencil test
getDepthFailAction()
public StencilAction getDepthFailAction()
ステンシルテストは合格だが深度テストが失敗したときのステンシルアクションを取得します。
Returns: StencilAction - the stencil action when stencil test pass but depth test fails.
getFailAction()
public StencilAction getFailAction()
ステンシルテストが失敗したときのステンシルアクションを取得します。
Returns: StencilAction - the stencil action when stencil test fails.
getPassAction()
public StencilAction getPassAction()
ステンシルテストと深度テストの両方が合格したときのステンシルアクションを取得します。
Returns: StencilAction - the stencil action when both stencil test and depth test passes.
hashCode()
public int hashCode()
このインスタンスのハッシュコードを返します。
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCompare(CompareFunction value)
public void setCompare(CompareFunction value)
ステンシルテストで使用される比較関数を設定します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | CompareFunction | 新しい値 |
setDepthFailAction(StencilAction value)
public void setDepthFailAction(StencilAction value)
ステンシルテストは合格だが深度テストが失敗したときのステンシルアクションを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | StencilAction | 新しい値 |
setFailAction(StencilAction value)
public void setFailAction(StencilAction value)
ステンシルテストが失敗したときのステンシルアクションを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | StencilAction | 新しい値 |
setPassAction(StencilAction value)
public void setPassAction(StencilAction value)
ステンシルテストと深度テストの両方が合格したときのステンシルアクションを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | StencilAction | 新しい値 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |