|
|
| |
switch_default_scalemode(3) |
Arcan Lua API |
switch_default_scalemode(3) |
switch_default_scalemode - Change the default scale-mode for newly loaded
images.
nil
switch_default_scalemode( scalemode )
This function accepts either SCALE_NOPOW 2 (default) or SCALE_POW
2 (which can also be set through the command-line when starting the engine).
For older GPU s that cannot handle textures with dimensions that isn't
an even power-of-two, SCALE_POW 2 will manually rescale them to fit, at
a fairly high CPU cost on-load.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |