color_surface - Create a vobj with a single- color
storage
VID or BADID
color_surface( w, h, r, g, b )
- 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.
function color_surface0()
a = color_surface(32, 32, 255, 0, 0);
show_image(a);
end