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.
|
Parameter |
Description |
|
bBuffer |
Index of the buffer to be dimensioned |
|
wPixels |
Buffer size in pixels |
|
Value |
Meaning |
|
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) |
Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation