kmSetColorClampMinValue

Specifies the minimum color clamp value.


KMSTATUS KMAPI kmSetColorClampMinValue(
IN KMPACKEDARGB MinVal
)


Description:

This function specifies the minimum color clamp value.
Color clamping is applied ahead of fogging. If you want to change the clamp color when rendering, do so within a callback function for rendering termination. If an attempt is made to change the clamp color at any other timing, a screen image may become invalid.

Parameters:

MinVal(input)
This parameter specifies a minimum value for color clamping. It is a packed ARGB 32-bit color. If you want to specify the RGB color with a brightness of 20, enter 0x00141414.

Return values:

ValueExplanation
KMSTATUS_SUCCESS Success

  kmSetColorClampMinValue