cf_clear_canvas¶
Category: graphics
GitHub: cute_graphics.h
Clears the color and depth-stencil targets of the given canvas.
Parameters | Description |
---|---|
canvas | The canvas to clear. |
Remarks¶
This clears the canvas to its configured clear color and clears depth to 1.0 (furthest depth). If the canvas has no depth-stencil target, only the color target will be cleared.