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. With ImageOutput() this command allows direct access to the pixels of the target image.
If the 'MemoryAddress' is 0, then direct memory access isn't available on the current output. This function is for advanced programmers only. To get more information about the buffer, the following functions are available: DrawingBufferPixelFormat() and DrawingBufferPitch().
This function has to be called again if other commands of this library where used since the last pixel manipulation.
For an example of how the drawing buffer can be used to create a nice visual effect, take a look here:
DirectScreenDrawing.pb
Supported OS
All