Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
texsettings.cpp File Reference

Settings for texture loading and handling. More...

#include "inexor/shared/command.hpp"
#include "inexor/texture/texture.hpp"
#include "inexor/ui/legacy/menus.hpp"

Functions

 VAR (hwtexsize, 1, 0, 0)
 
 VAR (hwcubetexsize, 1, 0, 0)
 
 VAR (hwmaxaniso, 1, 0, 0)
 
 VARFP (maxtexsize, 0, 0, 1<< 12, initwarning("texture quality", INIT_LOAD))
 
 VARFP (reducefilter, 0, 1, 1, initwarning("texture quality", INIT_LOAD))
 
 VARFP (texreduce, 0, 0, 12, initwarning("texture quality", INIT_LOAD))
 
 VARFP (trilinear, 0, 1, 1, initwarning("texture filtering", INIT_LOAD))
 
 VARFP (bilinear, 0, 1, 1, initwarning("texture filtering", INIT_LOAD))
 
 VARFP (aniso, 0, 0, 16, initwarning("texture filtering", INIT_LOAD))
 
 VARFP (texcompress, 0, 1<< 10, 1<< 12, initwarning("texture quality", INIT_LOAD))
 
 VARFP (texcompressquality,-1,-1, 1, setuptexcompress())
 
 VARFP (usenp2, 0, 0, 1, initwarning("texture quality", INIT_LOAD))
 

Detailed Description

Settings for texture loading and handling.

Function Documentation

VAR ( hwtexsize  ,
,
,
 
)
VAR ( hwcubetexsize  ,
,
,
 
)
VAR ( hwmaxaniso  ,
,
,
 
)
VARFP ( maxtexsize  ,
,
,
1<<  12,
initwarning("texture quality", INIT_LOAD)   
)
VARFP ( reducefilter  ,
,
,
,
initwarning("texture quality", INIT_LOAD)   
)
VARFP ( texreduce  ,
,
,
12  ,
initwarning("texture quality", INIT_LOAD)   
)
VARFP ( trilinear  ,
,
,
,
initwarning("texture filtering", INIT_LOAD)   
)
VARFP ( bilinear  ,
,
,
,
initwarning("texture filtering", INIT_LOAD)   
)
VARFP ( aniso  ,
,
,
16  ,
initwarning("texture filtering", INIT_LOAD)   
)
VARFP ( texcompress  ,
,
1<<  10,
1<<  12,
initwarning("texture quality", INIT_LOAD)   
)
VARFP ( texcompressquality  ,
1,
1,
,
setuptexcompress()   
)
VARFP ( usenp2  ,
,
,
,
initwarning("texture quality", INIT_LOAD)   
)