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
rendertarget_reconfigure(3) Arcan Lua API rendertarget_reconfigure(3)

rendertarget_reconfigure - Change the output density on a rendertarget

nil
rendertarget_reconfigure( vid:rtgt, float:hppcm, float:vppcm )

Vectorized assets that are sized in physical units e.g. pt (1/72th of an inch) like with render_text, the engine needs needs knowledge of the target output before drawing. By default, this is some display-dependent initial size, accessible through the global constants HPPCM and VPPCM , or 38.4 when those cannot be found. When targeting a display, locally or remote, that has a different density it is typically advised to update the rendertarget pipeline that gets mapped to that output using this function. Whenever an asset gets created or attached to a rendertarget, it will rerastered to match the density of the rendertarget.

June 2022 targetcontrol

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.