Method GLUE.BaseTexture()->construct()
- Method construct
voidconstruct(intwidth,intheight,int_alpha,mapping|voidimgs,int(2bit)|voidflags,int|void_mode,string|voiddebug_text)- Description
Construct a new texture. Processes
_alpha,_modeanddebug_textand calls resize.- Parameter
_alpha The alpha mode the texture is operating in.
0RGB
1RGBA
2ALPHA
3LUM
4LUM+ALPHA
- Parameter
_mode The mode the texture is operating in. Autoselected wrt
_alphaif0.- Parameter
debug_text A string that can be used to identify this texture.