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

FreeBSD Manual Pages

  
 
  

home | help
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-textured
	    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				   August 2026			color_surface(3)

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+15.1.quarterly>

home | help