Fills the current render target with one colour, and clears its depth and stencil.
- r: red, from 0 to 1.
- g: green, from 0 to 1.
- b: blue, from 0 to 1.
- a: alpha, from 0 to 1.
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.