Kamui2 Library - 描画パラメータ設定関数

kmChangeStripSuperSampleMode

SuperSampleModeの変更

書式

KMSTATUS kmChangeStripSuperSampleMode( pStripHead, nParam, bSuperSampleMode )
PKMSTRIPHEAD pStripHead
KMINT32 nParam
KMBOOLEAN bSuperSampleMode

引数

pStripHead   (入力/出力)KMSTRIPHEADへのポインタ
nParam   (入力)書き換えるパラメータ
bSuperSampleMode   (入力)SuperSampleMode

戻り値

KMSTATUS_SUCCESS   成功
KMSTATUS_INVALID_VERTEX_TYPE   現在のVertexTypeでは無効な設定

解説

kmGenerateStripHead()/kmGenerateStripHead03()〜kmGenerateStripHead08()、kmGenerateStripHead11()〜kmGenerateStripHead14()、kmGenerateStripHead16()関数で構築したKMSTRIPHEAD構造体の SuperSampleModeを変更します。

対応するVertexTypeは以下のようになります。

 VertexType   対応状況 
 VertexType00    × 
 VertexType01    × 
 VertexType02    × 
 VertexType03    ○ 
 VertexType04    ○ 
 VertexType05    ○ 
 VertexType06   ○ 
 VertexType07   ○ 
 VertexType08   ○ 
 VertexType09   × 
 VertexType10   × 
 VertexType11   ◎ 
 VertexType12   ◎ 
 VertexType13   ◎ 
 VertexType14   ◎ 
 VertexType15   × 
 VertexType16   ○ 
 VertexType17   × 


◎:KM_IMAGE_PARAM1 / KM_IMAGE_PARAM2 設定可能
○:KM_IMAGE_PARAM1のみ設定可能

引数nParamには、以下の書き換えるパラメータを設定します。

 定義   意味 

KM_IMAGE_PARAM1 1パラメータ KM_IMAGE_PARAM2 2パラメータ

引数bSuperSampleModeには、以下の SuperSampleModeの有効/無効を設定します。
 定義   意味 
 KM_TRUE   有効 
 KM_FALSE   無効 


kmChangeStripSuperSampleMode
COPYRIGHT © NEC Corporation / © SEGA ENTERPRISES, LTD., 1998-2000