RenderState
コンテンツ
[
隠れる
]RenderState class
パイプライン構築用のレンダー状態 レンダー状態に加えた変更は、作成されたパイプラインインスタンスに影響しません。
メソッド
constructor
| 名前 | 説明 |
|---|---|
| constructor() | RenderState のコンストラクタ |
Result:
getBlend
| 名前 | 説明 |
|---|---|
| getBlend() | フラグメントブレンディングを有効または無効にします。 |
Result:
setBlend
| 名前 | 説明 |
|---|---|
| setBlend(value) | フラグメントブレンディングを有効または無効にします。 |
Result:
getBlendColor
| 名前 | 説明 |
|---|---|
| getBlendColor() | BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを取得または設定します。 |
Result:
setBlendColor
| 名前 | 説明 |
|---|---|
| setBlendColor(value) | BlendFactor.CONSTANT_COLOR で使用されるブレンドカラーを取得または設定します。 |
Result:
getSourceBlendFactor
| 名前 | 説明 |
|---|---|
| getSourceBlendFactor() | 色がどのようにブレンドされるかを取得または設定します。プロパティの値は BlendFactor の整数定数です。 |
Result:
setSourceBlendFactor
| 名前 | 説明 |
|---|---|
| setSourceBlendFactor(value) | 色がどのようにブレンドされるかを取得または設定します。プロパティの値は BlendFactor の整数定数です。 |
Result:
getDestinationBlendFactor
| 名前 | 説明 |
|---|---|
| getDestinationBlendFactor() | 色がどのようにブレンドされるかを取得または設定します。プロパティの値は BlendFactor の整数定数です。 |
Result:
setDestinationBlendFactor
| 名前 | 説明 |
|---|---|
| setDestinationBlendFactor(value) | 色がどのようにブレンドされるかを取得または設定します。プロパティの値は BlendFactor の整数定数です。 |
Result:
getCullFace
| 名前 | 説明 |
|---|---|
| getCullFace() | カリングフェイスを有効または無効にします |
Result:
setCullFace
| 名前 | 説明 |
|---|---|
| setCullFace(value) | カリングフェイスを有効または無効にします |
Result:
getCullFaceMode
| 名前 | 説明 |
|---|---|
| getCullFaceMode() | 取得または設定します。どの面がカリングされるかを指定します。プロパティの値は CullFaceMode の整数定数です。 |
Result:
setCullFaceMode
| 名前 | 説明 |
|---|---|
| setCullFaceMode(value) | 取得または設定します。どの面がカリングされるかを指定します。プロパティの値は CullFaceMode の整数定数です。 |
Result:
getFrontFace
| 名前 | 説明 |
|---|---|
| getFrontFace() | 取得または設定します。どの順序が前面かを指定します。プロパティの値は FrontFace の整数定数です。 |
Result:
setFrontFace
| 名前 | 説明 |
|---|---|
| setFrontFace(value) | 取得または設定します。どの順序が前面かを指定します。プロパティの値は FrontFace の整数定数です。 |
Result:
getDepthTest
| 名前 | 説明 |
|---|---|
| getDepthTest() | 深度テストを有効または無効にします。 |
Result:
setDepthTest
| 名前 | 説明 |
|---|---|
| setDepthTest(value) | 深度テストを有効または無効にします。 |
Result:
getDepthMask
| 名前 | 説明 |
|---|---|
| getDepthMask() | 深度書き込みを有効または無効にします。 |
Result:
setDepthMask
| 名前 | 説明 |
|---|---|
| setDepthMask(value) | 深度書き込みを有効または無効にします。 |
Result:
getDepthFunction
| 名前 | 説明 |
|---|---|
| getDepthFunction() | 取得または設定します。深度テストで使用される比較関数を指定します。プロパティの値は CompareFunction の整数定数です。 |
Result:
setDepthFunction
| 名前 | 説明 |
|---|---|
| setDepthFunction(value) | 取得または設定します。深度テストで使用される比較関数を指定します。プロパティの値は CompareFunction の整数定数です。 |
Result:
getStencilTest
| 名前 | 説明 |
|---|---|
| getStencilTest() | ステンシルテストを有効または無効にします。 |
Result:
setStencilTest
| 名前 | 説明 |
|---|---|
| setStencilTest(value) | ステンシルテストを有効または無効にします。 |
Result:
getStencilReference
| 名前 | 説明 |
|---|---|
| getStencilReference() | 取得または設定します。ステンシルテストの参照値を指定します。 |
Result:
setStencilReference
| 名前 | 説明 |
|---|---|
| setStencilReference(value) | 取得または設定します。ステンシルテストの参照値を指定します。 |
Result:
getStencilMask
| 名前 | 説明 |
|---|---|
| getStencilMask() | 取得または設定します。テストが完了したときに、参照値と保存されたステンシル値の両方に AND 演算されるマスクを指定します。 |
Result:
getStencilFrontFace
| 名前 | 説明 |
|---|---|
| getStencilFrontFace() | 前面のステンシル状態を取得します。 |
Result:
getStencilBackFace
| 名前 | 説明 |
|---|---|
| getStencilBackFace() | 背面のステンシル状態を取得します。 |
Result:
getScissorTest
| 名前 | 説明 |
|---|---|
| getScissorTest() | シザーテストを有効化または無効化します。 |
Result:
setScissorTest
| 名前 | 説明 |
|---|---|
| setScissorTest(value) | シザーテストを有効化または無効化します。 |
Result:
getPolygonMode
| 名前 | 説明 |
|---|---|
| getPolygonMode() | ポリゴンのレンダリングモードを取得または設定します。プロパティの値は PolygonMode の整数定数です。 |
Result:
setPolygonMode
| 名前 | 説明 |
|---|---|
| setPolygonMode(value) | ポリゴンのレンダリングモードを取得または設定します。プロパティの値は PolygonMode の整数定数です。 |
Result:
equals
| 名前 | 説明 |
|---|---|
| equals(obj) | このインスタンスが指定されたオブジェクトと等しいかどうかを示す値を返します。 |
Result:
hashCode
| 名前 | 説明 |
|---|---|
| hashCode() | このインスタンスのハッシュコードを返します。 |
Result:
compareTo
| 名前 | 説明 |
|---|---|
| compareTo(other) | レンダリング状態を別のインスタンスと比較します |
Parameters:
| 名前 | 型 | 説明 |
|---|---|---|
| othe | RenderState | null |
Result: 数