SptDimBuffer()

Parent Previous Next

SptDimBuffer(bBuffer As Byte, wPixels As Word), Byte


Dimension a sprite buffer. Before a sprite buffer can be used, its size must be defined in terms of pixels. This operation performs a linear allocation, partitioning the dedicated global graphic RAM space.


bBuffer = Index of the buffer to be dimensioned

wPixels = Buffer size in pixels


Result:

0 = Operation successful

1 = Invalid buffer index

2 = Buffer exceeds the allowed RAM space

3 = Buffer size is 1 pixel (invalid)

4 = No change in buffer size (new size equals current size)


Important:

Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation