ChangeGamma()
Syntax
ChangeGamma(RedIntensity, GreenIntensity, BlueIntensity)Description
Changes the Gamma for the current screen. This only works in full screen mode (not in windowed mode). Red, Green and Blue channels intensity can be changed individually. This function can be used to do full screen fade-in/fade-out, color splashing etc. If it does not do anything, then the hardware does not support it (no emulation is provided, due to the high number of operations required to perform it in software).
Parameters
RedIntensity, GreenIntensity, BlueIntensity The new intensity to apply. Valid values for each channel are from 0 to 255.
Return value
None.
Example
ChangeGamma(255, 255, 0) ; Will remove completely the blue channel from the screen
Supported OS
Windows (DirectX)