None. |
Returns the pixel format of the current graphics mode.
The return value can be one of the following: 1 - 16 bit RGB format with 5 bits red, 6 bits green and 5 bits blue. 2 - 16 bit RGB format with 5 bits red, 5 bits green and 5 bits blue. The high bit is unused. 3 - 24 bit RGB format. 4 - 32 bit RGB format. The high byte is unused. See also: GfxModeFormat, LockedFormat, Graphics. |
Graphics 640,480,0,0
SetBuffer BackBuffer() Text 0,0,"Current graphics format: "+GraphicsFormat() Flip WaitKey() |