Method GLUE.BaseTexture()->construct()
- Method
construct
void
construct(int
width
,int
height
,int
_alpha
,mapping
|void
imgs
,int(2bit)
|void
flags
,int
|void
_mode
,string
|void
debug_text
)- Description
Construct a new texture. Processes
_alpha
,_mode
anddebug_text
and calls resize.- Parameter
_alpha
The alpha mode the texture is operating in.
0
RGB
1
RGBA
2
ALPHA
3
LUM
4
LUM+ALPHA
- Parameter
_mode
The mode the texture is operating in. Autoselected wrt
_alpha
if0
.- Parameter
debug_text
A string that can be used to identify this texture.