Draws the following triangles in plain colours, with no texture.
- enable_blend: mixes with what is already on screen using the alpha of the colour. Off by default, which overwrites.
set_shader_for_color(enable_blend = true);
immediate_quad(10, 10, 110, 60, .{0, 0.5, 1, 0.5});This one is only checked to compile, not run.
set_shader_for_color :: (enable_blend := false)
Draws the following triangles in plain colours, with no texture.
Parameters
- enable_blend := false
- mixes with what is already on screen using the alpha of the colour. Off by default, which overwrites.
set_shader_for_color(enable_blend = true);
immediate_quad(10, 10, 110, 60, .{0, 0.5, 1, 0.5});This one is only checked to compile, not run.