kmSetColorClampValue
Sets the color clamp value.
Description:
This function specifies the 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:
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.
MinVal(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 20, enter 0x00141414.
Return values:
Value | Explanation |
---|---|
KMSTATUS_SUCCESS | Success |
kmSetColorClampValue