kmSetVertexRenderState()関数/kmSetStripHead()関数でpVertexBuffDesc->pGlobalParamに登録したレンダリングパラメータのListTypeを変更します。
対応する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のみ設定可能
引数nListTypeに設定する変更可能なListTypeは、VertexTypeにより決まります。
VertexType0〜16では以下のいずれかが設定可能です。
- KM_OPAQUE_POLYGON
- KM_TRANS_POLYGON
- KM_PUNCHTHROUGH_POLYGON
VertexType17では、以下のいずれかが設定可能です。
- KM_OPAQUE_MODIFIER
- KM_TRANS_MODIFIER