UseBuffer()

Syntax

UseBuffer(#Sprite)
Description
Changes the default rendering buffer (usually the screen) to the given #Sprite. This means than all following DisplaySprite() like functions will be rendered on the #Sprite.

To get back on the main screen buffer, use #PB_Default as #Sprite value.

Supported OS

Windows (DirectX), Linux (SDL)

<- TransparentSpriteColor() - Sprite Index