ブレンドステート More...
#include <GxRender.h>

Public Member Functions | |
初期化 | |
| GxRenderBlendState (void) | |
| デフォルトコンストラクタ | |
| GxRenderBlendState (u32 enable, RENDER_BLEND_OPERATION colorOperation, RENDER_BLEND_FACTOR colorFactorSrc, RENDER_BLEND_FACTOR colorFactorDst, RENDER_BLEND_OPERATION alphaOperation, RENDER_BLEND_FACTOR alphaFactorSrc, RENDER_BLEND_FACTOR alphaFactorDst) | |
| コンストラクタ | |
Public Attributes | ||
メンバ変数 | ||
| union { | ||
| struct { | ||
| u32 _reserve: 9 | ||
| 予備 | ||
| RENDER_BLEND_FACTOR _alphaFactorDst: 4 | ||
| ブレンド係数 | ||
| RENDER_BLEND_FACTOR _alphaFactorSrc: 4 | ||
| ブレンド係数 | ||
| RENDER_BLEND_OPERATION _alphaOperation: 3 | ||
| ブレンド処理 | ||
| RENDER_BLEND_FACTOR _colorFactorDst: 4 | ||
| ブレンド係数 | ||
| RENDER_BLEND_FACTOR _colorFactorSrc: 4 | ||
| ブレンド係数 | ||
| RENDER_BLEND_OPERATION _colorOperation: 3 | ||
| ブレンド処理 | ||
| u32 _enable: 1 | ||
| 有効/無効 | ||
| } | ||
| u32 _access32 | ||
| データ | ||
| }; | ||
Static Public Attributes | |
定義 | |
| static const GxRenderBlendState | DISABLE |
| 無効 | |
| static const GxRenderBlendState | BASIC |
| 基本形 | |
| static const GxRenderBlendState | ADD |
| 加算 | |
| static const GxRenderBlendState | COLORADD |
| カラー加算 | |
| static const GxRenderBlendState | SUB |
| 減算 | |
| static const GxRenderBlendState | COLORSUB |
| カラー減算 | |
| static const GxRenderBlendState | MUL |
| 乗算 | |
ブレンドステート
| GxRenderBlendState::GxRenderBlendState | ( | u32 | enable, |
| RENDER_BLEND_OPERATION | colorOperation, | ||
| RENDER_BLEND_FACTOR | colorFactorSrc, | ||
| RENDER_BLEND_FACTOR | colorFactorDst, | ||
| RENDER_BLEND_OPERATION | alphaOperation, | ||
| RENDER_BLEND_FACTOR | alphaFactorSrc, | ||
| RENDER_BLEND_FACTOR | alphaFactorDst ) |
コンストラクタ
| enable | [in] 有効ならtrue |
| colorOperation | [in] 色ブレンド処理 |
| colorFactorSrc | [in] 色ブレンド係数 |
| colorFactorDst | [in] 色ブレンド係数 |
| alphaOperation | [in] アルファブレンド処理 |
| alphaFactorSrc | [in] アルファブレンド係数 |
| alphaFactorDst | [in] アルファブレンド係数 |