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

rendertarget_vids - Get an indexed table of vids in a rendertarget

tbl
rendertarget_vids(

rtvid )

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 collected at allocation time. If rtvid is not specified, the current default attachment will be used.

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

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.