G2*_GetWnd0InsidePlane

構文

#include <nitro/gx/g2.h>

GXWndPlane G2_GetWnd0InsidePlane( void );
GXWndPlane G2S_GetWnd0InsidePlane( void );

引数

なし。

返り値

ウィンドウに表示される面の情報。

説明

ウィンドウ0の内側に表示される面の設定とカラー特殊効果の有無の設定をGXWndPlane構造体として取得します。

G2_GetWnd0InsidePlane() ではメイン2Dエンジンの設定、G2S_GetWnd0InsidePlane() ではサブ2Dエンジンの設定が取得できます。

返り値のGXWndPlaneには以下の情報が含まれます。

planeMask ウィンドウの内側に表示される面の設定情報です。詳細はG2_SetWnd0InsidePlane() のリファレンスを参照してください。
effect ウィンドウ内部のカラー特殊効果の有無の設定です。


以下にGXWndPlane型の型定義を示しておきます。

typedef struct
{
        u8      planeMask       :5;
        u8      effect          :1;
        u8      _reserve        :2;
}
GXWndPlane;

参照

G2_SetWnd0InsidePlane

履歴

Ver. 2004/12/24