GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.

June 2022 vidsys

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.