Simp module

clear_render_target

procedureSource

Fills the current render target with one colour, and clears its depth and stencil.

Example
clear_render_target(0.1, 0.1, 0.15, 1);

This one is only checked to compile, not run.

clear_render_target :: (r: float, g: float, b: float, a: float)

Fills the current render target with one colour, and clears its depth and stencil.

Parameters

r: float
red, from 0 to 1.
g: float
green, from 0 to 1.
b: float
blue, from 0 to 1.
a: float
alpha, from 0 to 1.
Example
clear_render_target(0.1, 0.1, 0.15, 1);

This one is only checked to compile, not run.

See also