Constructs Rendering Parameters (KMSTRIPHEAD) (for VertexType11).

Prototype declaration:

> `

>     KMSTATUS KMAPI
>     kmGenerateStripHead11(
>             OUT PKMSTRIPHEAD        pStripHead,
>             IN  PKMSTRIPCONTEXT     pStripContext,

> `

Description:

>     This function constructs rendering parameters (KMSTRIPHEAD) for VertexType11 from KMTWOVOLUMESTRIPCONTEXT.
>     Set the parameters that are to be used in the members indicated below in KMTWOVOLUMESTRIPCONTEXT.
>     Operation is not guaranteed if all parameters are not set.
>     	pStripContext->nSize		( = sizeof(KMTWOVOLUMESTRIPCONTEXT) )
>     	pStripContext->StripControl.nListType
>     	pStripContext->StripControl.nUserClipMode
>     	pStripContext->StripControl.bOffset
>     	pStripContext->StripControl.bGouraud
>     	pStripContext->ObjectControl.nDepthCompare
>     	pStripContext->ObjectControl.nCullingMode
>     	pStripContext->ObjectControl.bZWriteDisable
>     	pStripContext->ObjectControl.bDCalcControl
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nSRCBlendingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nDSTBlendingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bSRCSelect
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bDSTSelect
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nFogMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bColorClamp
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bUseAlpha
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bIgnoreTextureAlpha
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nFlipUV
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nClampUV
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nFilterMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].bSuperSampleMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].dwMipmapAdjust
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].nTextureShadingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].pTextureSurfaceDesc
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nSRCBlendingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nDSTBlendingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bSRCSelect
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bDSTSelect
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nFogMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bColorClamp
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bUseAlpha
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bIgnoreTextureAlpha
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nFlipUV
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nClampUV
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nFilterMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].bSuperSampleMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].dwMipmapAdjust
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].nTextureShadingMode
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].pTextureSurfaceDesc

>     	When using a palette texture, the following member settings are needed.
>     	pStripContext->ImageControl[KM_IMAGE_PARAM1].dwPaletteBank
>     	pStripContext->ImageControl[KM_IMAGE_PARAM2].dwPaletteBank

Parameters:

>     pStripHead(output)
>             This specifies the pointer for KMSTRIPHEAD.

>     pStripContext(input)
>             This specifies the pointer for KMTWOVOLUMESTRIPCONTEXT.
>             Cast to the PKMSTRIPCONTEXT type.
>             ex)
>               KMSTRIPHEAD              StripHead;
>               KMTWOVOLUMESTRIPCONTEXT  TwoVolStripContext;
>     		....
>               TwoVolStripContext.nSize = sizeof(KMTWOVOLUMESTRIPCONTEXT);
>               kmGenerateStripHead11( &StripHead, (PKMSTRIPCONTEXT)&TwoVolStripContext );

Return values:

> Value | Explanation
> KMSTATUS_SUCCESS | Success
> KMSTATUS_INVALID_ADDRESS | pStripHead or pStripContext is invalid (NULL).
> KMSTATUS_INVALID_SETTING | pStripContext size setting is invalid.