natiny_render_cover

C
void natiny_render_cover(void);

A rectangle covering the current render target. Its UV coordinates run from 0 to 1 across the target.

Example

C
natiny_render_cover();

Notes

  • Unlike natiny_render_clear, this is geometry and therefore uses the current material, draw color, blending and depth state.
  • Vertex positions use target pixel coordinates; each vertex normal is (0, 0, 1).