Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
switch_default_scalemode(3)	 Arcan Lua API	   switch_default_scalemode(3)

NAME
       switch_default_scalemode	 -  Change  the	 default  scale-mode for newly
       loaded images.

SYNOPSIS
       nil
       switch_default_scalemode( scalemode )

DESCRIPTION
       This function accepts either SCALE_NOPOW	2  (default)  or  SCALE_POW  2
       (which  can  also be set	through	the command-line when starting the en-
       gine). 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.

vidsys				  April	2025	   switch_default_scalemode(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=switch_default_scalemode&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help