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

FreeBSD Manual Pages

  
 
  

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

NAME
     rendertarget_reconfigure - Change the output density or processing flags of
     a rendertarget

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

DESCRIPTION
     Two  major properties of a rendertarget are the intended output density and
     the targetted colour space.

     For vectorized assets that are sized in physical units e.g. pt  (1/72th  of
     an  inch)	like  with render_text, the engine 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 render-
     target pipeline that gets mapped to that output using this function.  When-
     ever  an  asset  gets  created  or  attached  to a rendertarget, it will be
     rerastered to match the density of the rendertarget.

NOTES
     1	    For HDR  composition and rendering, you typically  need  to  provide
	    further  metadata  about  light levels and so on. This can be set on
	    the rtgt  using image_metadata .

SEE ALSO:
targetcontrol			   August 2026	     rendertarget_reconfigure(3)

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

home | help