kmSetColorClampMaxValue
Specifies the color clamp maximum value.
KMSTATUS KMAPI kmSetColorClampMaxValue(
IN KMPACKEDARGB MaxVal
)
Description:
This function specifies the color clamp maximum 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:
MaxVal(input)
This parameter specifies a maximum value for color clamping. It is a packed ARGB 32-bit color.
If you want to specify the RGB color with a brightness of 128, enter 0x00808080.
Return values:
Value | Explanatrion |
---|---|
KMSTATUS_SUCCESS | Success |
kmSetColorClampMaxValue