OROCHI
 
Loading...
Searching...
No Matches
GxRenderStencilTestState Struct Reference

ステンシルテストステート More...

#include <GxRender.h>

Collaboration diagram for GxRenderStencilTestState:

Public Member Functions

初期化
 GxRenderStencilTestState (void)
 デフォルトコンストラクタ
 
 GxRenderStencilTestState (u32 enable, u32 function, u32 reference, u32 readMask, u32 writeMask, u32 operationFail, u32 operationZFail, u32 operationPass)
 コンストラクタ
 

Public Attributes

メンバ変数
union { 
 
   struct { 
 
      u32   _reserve: 27 
 予備
 
      u32   _operationPass: 3 
 ステンシルテスト成功、Zテスト成功
 
      u32   _operationZFail: 3 
 ステンシルテスト成功、Zテスト失敗
 
      u32   _operationFail: 3 
 ステンシルテスト失敗
 
      u32   _writeMask: 8 
 書き込みマスク
 
      u32   _readMask: 8 
 読み込みマスク
 
      u32   _reference: 8 
 基準値
 
      u32   _function: 3 
 テスト関数
 
      u32   _enable: 1 
 有効/無効
 
   }  
 
   u64   _access64 
 データ
 
};  
 

Static Public Attributes

定義
static const GxRenderStencilTestState DISABLE
 無効
 

Detailed Description

ステンシルテストステート

Constructor & Destructor Documentation

◆ GxRenderStencilTestState()

GxRenderStencilTestState::GxRenderStencilTestState ( u32 enable,
u32 function,
u32 reference,
u32 readMask,
u32 writeMask,
u32 operationFail,
u32 operationZFail,
u32 operationPass )

コンストラクタ

Parameters
enable[in] 有効ならtrue
function[in] 比較関数
reference[in] 基準値
readMask[in] 読み込みマスク
writeMask[in] 書き込みマスク
operationFail[in] ステンシルテスト失敗
operationZFail[in] ステンシルテスト成功、Zテスト失敗
operationPass[in] ステンシルテスト成功、Zテスト成功

The documentation for this struct was generated from the following files: