Prototype declaration:
KMSTATUS KMAPI kmChangeStripGouraud( IN OUT PKMSTRIPHEAD pStripHead, IN KMBOOLEAN bGouraud );
Description:
Parameters:This function changes Gouraud in a KMSTRIPHEAD structure that was constructed by kmGenerateStripHead/kmGenerateStripHeadXX (00 to 14). The following is a list of supported VertexType:
VertexType00 ![]()
VertexType06 ![]()
VertexType12 ![]()
VertexType01 ![]()
VertexType07 ![]()
VertexType13 ![]()
VertexType02 ![]()
VertexType08 ![]()
VertexType14 ![]()
VertexType03 ![]()
VertexType09 ![]()
VertexType15 ![]()
VertexType04 ![]()
VertexType10 ![]()
VertexType16 ![]()
VertexType05 ![]()
VertexType11 ![]()
VertexType17 ![]()
Return values:pStripHead(input/output) This parameter is a pointer to KMSTRIPHEAD. bGouraud(input) This parameter specifies the Gouraud setting. KM_TRUE : Gouraud is valid. KM_FALSE : Gouraud is not valid.
Value Explanation KMSTATUS_SUCCESS Success KMSTATUS_INVALID_VERTEX_TYPE This setting is invalid at the current VertexType.