Vizard 8 » Command Index » Vizard modules » spi » <spi>.chansize
8.1

<spi>.chansize

Set texture size for given channel

<spi>.chansize(  
channel  
width  
height  
)  
channel
Multiple SPI channel tokens combined using the bit-wise OR operator
width
The texture width
height
The texture height

Remarks

This function sets the size of the texture used for the desired channels. This texture does not have to be a
power of two in either dimension; the actual size of the texture will be the next power of two higher than the
given size, up to 2048 x 2048. A scaling operation will allow for the disparity in both the X and Y-axes.

NOTE: This function may incur a re-initialization of the OpenGL texture.

Return Value

None