Prototype declaration:
KMSTATUS KMAPI kmChangeContextMipmapAdjust( IN OUT PKMVERTEXBUFFDESC pVertexBuffDesc, IN KMINT32 nParam, IN KMDWORD dwMipmapAdjust );
Description:
Parameters:This function changes the rendering parameter MipmapAdjust 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 ![]()
: KM_IMAGE_PARAM1 / KM_IMAGE_PARAM2 can be used.
: Only KM_IMAGE_PARAM1 can be used.
Return values:pVertexBuffDesc(input/output) This parameter is a pointer to KMVERTEXBUFFDESC. nParam(input) This parameter specifies the parameter for update. KM_IMAGE_PARAM1 parameter 1 KM_IMAGE_PARAM2 parameter 2 dwMipmapAdjust(input) This parameter specifies the MipmapAdjust setting. KM_MIPMAP_D_ADJUST_0_25 KM_MIPMAP_D_ADJUST_0_50 KM_MIPMAP_D_ADJUST_0_75 KM_MIPMAP_D_ADJUST_1_00 KM_MIPMAP_D_ADJUST_1_25 KM_MIPMAP_D_ADJUST_1_50 KM_MIPMAP_D_ADJUST_1_75 KM_MIPMAP_D_ADJUST_2_00 KM_MIPMAP_D_ADJUST_2_25 KM_MIPMAP_D_ADJUST_2_50 KM_MIPMAP_D_ADJUST_2_75 KM_MIPMAP_D_ADJUST_3_00 KM_MIPMAP_D_ADJUST_3_25 KM_MIPMAP_D_ADJUST_3_50 KM_MIPMAP_D_ADJUST_3_75
Value Explanation KMSTATUS_SUCCESS Success