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

null_surface - Create a minimalistic video object.

vid
null_surface( startw, starth )

Null surfaces creates a normal textured video object that lacks a backing store and will therefore not be rendered in the normal draw pass, although it can be used for clipping operations. It is primarily used as an intermediate stage before using image_sharestorage to share the backing storage between two objects. The null_sueface is also useful as a property anchor for creating object hierarchies.

1
intial starting dimensions still need to be specified in order for other lookup functions e.g. image_surface_initial_properties to work properly. dependencies

function null_surface0()
      a = null_surface(32, 32);
      b = fill_surface(32, 32, 255, 0, 0);
      show_image(b);
      link_image(b, a);
      moev_image(a, 100, 100, 100);
      blend_image(a, 1.0, 100);
end

function null_surface0()
      a = null_surface();
      a = null_surface(-1, -1);
end

fill_surface(3) image_sharestorage(3)

June 2022 image

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.