FreeBSD Manual Pages
color_surface(3) Arcan Lua API color_surface(3) NAME color_surface - Create a vobj with a single- color storage SYNOPSIS VID or BADID color_surface( w, h, r, g, b ) NOTES 1 These use a different backing store and a single-color non-tex- tured shader with the color values shader-accessible as a vec3 obj_col uniform. 2 No texture units will be mapped for these objects. EXAMPLE function color_surface0() a = color_surface(32, 32, 255, 0, 0); show_image(a); end SEE ALSO: image April 2025 color_surface(3)
NAME | SYNOPSIS | NOTES | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=color_surface&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>