![]() |
![]()
| ![]() |
![]()
NAMEimage_color - Change color_surface and rendertarget clear-color SYNOPSIStrue or false
DESCRIPTIONThere are two uses for this function. The first is that it can be used to update the current color that a color_surface uses as the color value passed to the shader. The second is that each rendertarget, including the one hidden behind WORLDID has a clear color which is the default 'background' color. This initialises to 25, 25, 25, (255) which is a dark grey value, but can be updated via the use of this function. NOTES
EXAMPLEfunction image_color0() EXAMPLEfunction image_color1() MISUSEfunction image_color0() MISUSEfunction image_color1() SEE ALSO:color_surface(3) define_rendertarget(3)
|