Blender Git Commit Log

Git Commits -> Revision 71f7e50

Revision 71f7e50 by Benoit Bolsee (master)
February 26, 2010, 22:14 (GMT)
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.

Commit Details:

Full Hash: 71f7e50451090a2a17bae3c1b47057c87d78a84a
SVN Revision: 27158
Parent Commit: a7b73a4
Lines Changed: +66, -1

2 Modified Paths:

/source/gameengine/VideoTexture/ImageBuff.cpp (+64, -1) (Diff)
/source/gameengine/VideoTexture/ImageBuff.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021