<spi>.pbuffersize

Set the current pixel buffer size

 

<spi>.pbuffersize(
    width    
    height    

)

 

width

The width of the new pixel buffer


height

The height of the new pixel buffer


Remarks

This function will destroy the current pixel buffer and reallocate a new one given the desired width and
height. It is recommended to use this function as an optimization. If the render to pixel buffer method is
selected, the pixel buffer may be resized to optimally fit the functional texture size in order to save memory
on the graphics card.

NOTE: Incurs a recreation of a pixel buffer, which is not a real time operation.

Return Value

None