SptSetBufferWaH()

Parent Previous Next

SptSetBufferWaH(bBuffer As Byte, wWidth As Word, wHeight As Word), Byte


System procedure used to define the width and height of a sprite buffer, thereby assigning two-dimensional properties to the underlying one-dimensional pixel array.


bBuffer = Sprite buffer index to configure

wWidth = Width of the buffer in pixels

wHeight = Height of the buffer in pixels


Result:

0 – Operation completed successfully

1 – Invalid buffer index

2 – Buffer size is insufficient for the specified width and height

Created with the Personal Edition of HelpNDoc: Maximize Your Documentation Output with HelpNDoc's Advanced Project Analyzer