kmSetVertexRenderState()関数/kmSetStripHead()関数でpVertexBuffDesc->pGlobalParam
に登録したレンダリングパラメータのClampUVを変更します。
対応する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パラメータ |
|
引数nClampUVには、ClampUVを設定します。
- KM_NOCLAMP
- KM_CLAMP_V
- KM_CLAMP_U
- KM_CLAMP_UV