Simp module

set_shader_for_color

procedureSource

Draws the following triangles in plain colours, with no texture.

Example
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.
Example
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.

See also