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

FreeBSD Manual Pages

  
 
  

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

NAME
       rendertarget_vids - Get an indexed table	of vids	in a rendertarget

SYNOPSIS
       tbl
       rendertarget_vids(

       rtvid )

DESCRIPTION
       This  function  populates  a list of VID	s that match the contents of a
       specific	rendertarget at	the time of calling. It	can be used to perform
       certain	mass-actions  without  manually	 maintaing a list of vids col-
       lected at allocation time. If rtvid  is not specified, the current  de-
       fault attachment	will be	used.

EXAMPLE
       function	rendertarget_vids0()
	     local a = color_surface(8,	8, 255,	0, 0);
	     local b = color_surface(4,	4, 0, 255, 0);
	     for i,v in	ipairs(rendertarget_vids()) do
		   show_image(v);
		   print(a, b, v);
	     end
       end

SEE ALSO:
targetcontrol			September 2022		  rendertarget_vids(3)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=rendertarget_vids&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help