kmSetVertexRenderState()関数/kmSetStripHead()関数でpVertexBuffDesc->pGlobalParamに登録したレンダリングパラメータのMipmapAdjustを変更します。
対応する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パラメータ |
|
引数dwMipmapAdjustには、以下のMipmapAdjustを設定します。
- KM_MIPMAP_D_ADJUST_0_25
- KM_MIPMAP_D_ADJUST_0_50
- KM_MIPMAP_D_ADJUST_0_75
- KM_MIPMAP_D_ADJUST_1_00
- KM_MIPMAP_D_ADJUST_1_25
- KM_MIPMAP_D_ADJUST_1_50
- KM_MIPMAP_D_ADJUST_1_75
- KM_MIPMAP_D_ADJUST_2_00
- KM_MIPMAP_D_ADJUST_2_25
- KM_MIPMAP_D_ADJUST_2_50
- KM_MIPMAP_D_ADJUST_2_75
- KM_MIPMAP_D_ADJUST_3_00
- KM_MIPMAP_D_ADJUST_3_25
- KM_MIPMAP_D_ADJUST_3_50
- KM_MIPMAP_D_ADJUST_3_75