DrawingBuffer()

Syntax

MemoryAddress = DrawingBuffer()
Description
Returns the MemoryAddress of the drawing buffer. It can be directly in video memory if the output is ScreenOutput() or SpriteOutput() and allows very fast pixel manipulation. If the 'MemoryAddress' is 0, then direct memory access isn't available. This command is for advanced programmers only. To get more information about the buffer, the following commands are available: DrawingBufferPixelFormat() and DrawingBufferPitch(). This function has to be called each time than the buffer need to be accessed.

Supported OS

Windows, Linux

<- DrawText() - 2DDrawing Index - DrawingBufferPitch() ->