Registers with the system as parameters to be used for rendering (Normal Case).

Prototype declaration:


KMSTATUS KMAPI
kmSetVertexRenderState(
        OUT PKMVERTEXBUFFDESC   pVertexBuffDesc,
        IN  PKMVERTEXCONTEXT    pVertexContext
);

Description:

This function registers with the system as parameters to be used for rendering.
(VertexBuffDesc->pGlobalParam)
When starting a vertex data strip with the data registered here, use kmStartVertexStrip.

Parameters:
pVertexBuffDesc(output)
        This parameter is a pointer to KMVERTEXBUFFDESC.

pVertexContext(input)
        This parameter is a pointer to KMVERTEXCONTEXT.

Return values:
Value Explanation
KMSTATUS_SUCCESS Success