RenderState

Inheritance: java.lang.Object

All Implemented Interfaces: java.io.Closeable, java.lang.Comparable

public class RenderState implements Closeable, Comparable<RenderState>

パイプライン構築のためのレンダー状態です。レンダー状態に加えた変更は、作成されたパイプラインインスタンスに影響しません。

コンストラクタ

コンストラクタ説明
RenderState()RenderState のコンストラクタ

メソッド

メソッド説明
close()RenderState を破棄し、すべての内部リソースを解放します。
compareTo(RenderState other)レンダリング状態を別のインスタンスと比較する
equals(Object obj)このインスタンスが指定されたオブジェクトと等しいかどうかを示す値を返します。
getBlend()フラグメントブレンディングを有効または無効にする。
getBlendColor()BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを取得します
getClass()
getCullFace()カリング面を有効または無効にする
getCullFaceMode()カリングされる面を取得します。
getDepthFunction()深度テストで使用される比較関数を取得します
getDepthMask()深度書き込みを有効または無効にする。
getDepthTest()深度テストを有効または無効にする。
getDestinationBlendFactor()色のブレンド方法を取得します。
getFrontFace()表面が前面になる順序を取得します。
getPolygonMode()ポリゴンのレンダーモードを取得します。
getScissorTest()シザーテストを有効または無効にする
getSourceBlendFactor()色のブレンド方法を取得します。
getStencilBackFace()背面のステンシル状態を取得します。
getStencilFrontFace()前面のステンシル状態を取得します。
getStencilMask()テスト完了時に参照値と保存されたステンシル値の両方と AND されるマスクを取得します。
getStencilReference()ステンシルテストの参照値を取得します。
getStencilTest()ステンシルテストを有効または無効にする。
hashCode()このインスタンスのハッシュコードを返します。
notify()
notifyAll()
setBlend(boolean value)フラグメントブレンディングを有効または無効にする。
setBlendColor(FVector4 value)BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを設定します
setCullFace(boolean value)カリング面を有効または無効にする
setCullFaceMode(int value)カリングされる面を設定します。
setDepthFunction(CompareFunction value)深度テストで使用される比較関数を設定します
setDepthMask(boolean value)深度書き込みを有効または無効にする。
setDepthTest(boolean value)深度テストを有効または無効にする。
setDestinationBlendFactor(BlendFactor value)色のブレンド方法を設定します。
setFrontFace(FrontFace value)表面が前面になる順序を設定します。
setPolygonMode(PolygonMode value)ポリゴンのレンダーモードを設定します。
setScissorTest(boolean value)シザーテストを有効または無効にする
setSourceBlendFactor(BlendFactor value)色のブレンド方法を設定します。
setStencilMask(int value)テストが完了したときに、参照値と保存されたステンシル値の両方とAND演算されるマスクを設定します。
setStencilReference(int value)ステンシルテストの参照値を設定します。
setStencilTest(boolean value)ステンシルテストを有効または無効にする。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

RenderState()

public RenderState()

RenderState のコンストラクタ

close()

public void close()

RenderState を破棄し、すべての内部リソースを解放します。

compareTo(RenderState other)

public int compareTo(RenderState other)

レンダリング状態を別のインスタンスと比較する

Parameters:

パラメーター説明
otherRenderState比較用の別のレンダー状態

Returns: int

equals(Object obj)

public boolean equals(Object obj)

このインスタンスが指定されたオブジェクトと等しいかどうかを示す値を返します。

Parameters:

パラメーター説明
objjava.lang.Object

Returns: boolean

getBlend()

public boolean getBlend()

フラグメントブレンディングを有効または無効にする。

Returns: boolean - フラグメントブレンドを有効または無効にします。

getBlendColor()

public FVector4 getBlendColor()

BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを取得します

Returns: FVector4 - the blend color where used in BlendFactor.CONSTANT_COLOR

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCullFace()

public boolean getCullFace()

カリング面を有効または無効にする

Returns: boolean - カリング面を有効または無効にします

getCullFaceMode()

public int getCullFaceMode()

カリングされる面を取得します。

Returns: int - カリングされる面を指定します。

getDepthFunction()

public CompareFunction getDepthFunction()

深度テストで使用される比較関数を取得します

Returns: CompareFunction - the compare function used in depth test

getDepthMask()

public boolean getDepthMask()

深度書き込みを有効または無効にする。

Returns: boolean - 深度書き込みを有効または無効にします。

getDepthTest()

public boolean getDepthTest()

深度テストを有効または無効にする。

Returns: boolean - 深度テストを有効または無効にします。

getDestinationBlendFactor()

public BlendFactor getDestinationBlendFactor()

色のブレンド方法を取得します。

Returns: BlendFactor - how the color is blended.

getFrontFace()

public FrontFace getFrontFace()

表面が前面になる順序を取得します。

Returns: FrontFace - which order is front face.

getPolygonMode()

public PolygonMode getPolygonMode()

ポリゴンのレンダーモードを取得します。

Returns: PolygonMode - the polygon’s render mode.

getScissorTest()

public boolean getScissorTest()

シザーテストを有効または無効にする

Returns: boolean - シザーテストを有効または無効にします

getSourceBlendFactor()

public BlendFactor getSourceBlendFactor()

色のブレンド方法を取得します。

Returns: BlendFactor - how the color is blended.

getStencilBackFace()

public StencilState getStencilBackFace()

背面のステンシル状態を取得します。

Returns: StencilState - the stencil state for back face.

getStencilFrontFace()

public StencilState getStencilFrontFace()

前面のステンシル状態を取得します。

Returns: StencilState - the stencil state for front face.

getStencilMask()

public int getStencilMask()

テスト完了時に参照値と保存されたステンシル値の両方と AND されるマスクを取得します。

Returns: int - テストが完了したときに、参照値と保存されたステンシル値の両方とAND演算されるマスクです。

getStencilReference()

public int getStencilReference()

ステンシルテストの参照値を取得します。

Returns: int - ステンシルテストの参照値です。

getStencilTest()

public boolean getStencilTest()

ステンシルテストを有効または無効にする。

Returns: boolean - ステンシルテストを有効または無効にします。

hashCode()

public int hashCode()

このインスタンスのハッシュコードを返します。

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBlend(boolean value)

public void setBlend(boolean value)

フラグメントブレンディングを有効または無効にする。

Parameters:

パラメーター説明
boolean新しい値

setBlendColor(FVector4 value)

public void setBlendColor(FVector4 value)

BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを設定します

Parameters:

パラメーター説明
valueFVector4新しい値

setCullFace(boolean value)

public void setCullFace(boolean value)

カリング面を有効または無効にする

Parameters:

パラメーター説明
boolean新しい値

setCullFaceMode(int value)

public void setCullFaceMode(int value)

カリングされる面を設定します。

Parameters:

パラメーター説明
int新しい値

setDepthFunction(CompareFunction value)

public void setDepthFunction(CompareFunction value)

深度テストで使用される比較関数を設定します

Parameters:

パラメーター説明
valueCompareFunction新しい値

setDepthMask(boolean value)

public void setDepthMask(boolean value)

深度書き込みを有効または無効にする。

Parameters:

パラメーター説明
boolean新しい値

setDepthTest(boolean value)

public void setDepthTest(boolean value)

深度テストを有効または無効にする。

Parameters:

パラメーター説明
boolean新しい値

setDestinationBlendFactor(BlendFactor value)

public void setDestinationBlendFactor(BlendFactor value)

色のブレンド方法を設定します。

Parameters:

パラメーター説明
valueBlendFactor新しい値

setFrontFace(FrontFace value)

public void setFrontFace(FrontFace value)

表面が前面になる順序を設定します。

Parameters:

パラメーター説明
valueFrontFace新しい値

setPolygonMode(PolygonMode value)

public void setPolygonMode(PolygonMode value)

ポリゴンのレンダーモードを設定します。

Parameters:

パラメーター説明
valuePolygonMode新しい値

setScissorTest(boolean value)

public void setScissorTest(boolean value)

シザーテストを有効または無効にする

Parameters:

パラメーター説明
boolean新しい値

setSourceBlendFactor(BlendFactor value)

public void setSourceBlendFactor(BlendFactor value)

色のブレンド方法を設定します。

Parameters:

パラメーター説明
valueBlendFactor新しい値

setStencilMask(int value)

public void setStencilMask(int value)

テストが完了したときに、参照値と保存されたステンシル値の両方とAND演算されるマスクを設定します。

Parameters:

パラメーター説明
int新しい値

setStencilReference(int value)

public void setStencilReference(int value)

ステンシルテストの参照値を設定します。

Parameters:

パラメーター説明
int新しい値

setStencilTest(boolean value)

public void setStencilTest(boolean value)

ステンシルテストを有効または無効にする。

Parameters:

パラメーター説明
boolean新しい値

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int