dxGraphicsBuffer%()

Parameters

None

Description

Use this command to get which buffer Blitz is currently writing to.

Example

; dxGraphicsWidth(), dxGraphicsHeight(), dxGraphicsDepth(), dxGraphicsBuffer() example

; Set a graphics mode and buffer
Graphics 640,480,16
dxSetBuffer dxFrontBuffer()

; dxPrint the details
dxPrint "Screen width is: " + dxGraphicsWidth()
dxPrint "Screen height is: " + dxGraphicsHeight()
dxPrint "Screen dxColor depth is: " + dxGraphicsDepth()
dxPrint "Current buffer handle is: " + dxGraphicsBuffer()

; Wait for ESC before exiting
While Not dxKeyHit(1)
Wend

Index