Prototype declaration:
KMSTATUS KMAPI kmChangeContextModifierInstruction( IN OUT PKMVERTEXBUFFDESC pVertexBuffDesc, IN KMDWORD dwModifierInstruction );
Description:
Parameters:This function changes the rendering parameter ModifierInstruction that was registered in pGlobalParam from pVertexBuffDesc by kmSetVertexRenderState/kmSetStripHead. The following is a list of supported VertexType: Note: This function changes some of pGlobalParam from pVertexBuffDesc before starting a strip in response to kmStartVertexStrip. Operation is not guaranteed if the rendering parameters are not registered from pVertexBuffDesc to pGlobalParam within the same pass beforehand.
VertexType00 ![]()
VertexType06 ![]()
VertexType12 ![]()
VertexType01 ![]()
VertexType07 ![]()
VertexType13 ![]()
VertexType02 ![]()
VertexType08 ![]()
VertexType14 ![]()
VertexType03 ![]()
VertexType09 ![]()
VertexType15 ![]()
VertexType04 ![]()
VertexType10 ![]()
VertexType16 ![]()
VertexType05 ![]()
VertexType11 ![]()
VertexType17 ![]()
Return values:pVertexBuffDesc(input/output) This parameter is a pointer to KMVERTEXBUFFDESC. dwModifierInstruction(input) This parameter specifies the ModifierInstruction setting. KM_MODIFIER_NORMAL_POLY KM_MODIFIER_INCLUDE_FIRST_POLY KM_MODIFIER_EXCLUDE_FIRST_POLY KM_MODIFIER_INCLUDE_LAST_POLY KM_MODIFIER_EXCLUDE_LAST_POLY
Value Explanation KMSTATUS_SUCCESS Success