ChangeGamma()

语法

ChangeGamma(RedIntensity, GreenIntensity, BlueIntensity)
概要
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).

参数

RedIntensity, GreenIntensity, BlueIntensity The new intensity to apply. Valid values for each channel are from 0 to 255.

返回值

无.

示例

  ChangeGamma(255, 255, 0)   ; Will remove completely the blue channel from the screen

已支持操作系统

Windows (DirectX)

<- AvailableScreenMemory() - Screen Index - ClearScreen() ->