diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2010-02-27 01:14:31 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2010-02-27 01:14:31 +0300 |
commit | 71f7e50451090a2a17bae3c1b47057c87d78a84a (patch) | |
tree | 1b1094e883226c8a1c7e00dcd2efbfe207357e16 /source/blender/blenlib/BLI_dynstr.h | |
parent | a7b73a49a45739aba26601ba9f8261d467e7bd5e (diff) |
VideoTexture: optional arguments to ImageBuff constructor.
ImageBuff([width,height[,color[,scale]]])
width, height: size of buffer in pixel.
default: buffer not allocated.
color: initial value of RGB channels. Alpha channel is 255.
Possible values: 0(black=default) -> 255 (white)
scale: True or False to enable or disable fast scaling
default: False
This constructors eliminates the need to use the load function
when you just want to initialize the image buffer to black or white.
Diffstat (limited to 'source/blender/blenlib/BLI_dynstr.h')
0 files changed, 0 insertions, 0 deletions