kmSetColorClampMin

Specifies the minimum color clamp value.


KMSTATUS KMAPI
kmSetColorClampMin(
IN KMPACKEDARGB Val
)

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:

Val(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

  kmSetColorClampMin