cf_canvas_set_clear_depth_stencil¶
Category: graphics
GitHub: cute_graphics.h
Gives one canvas its own clear depth and stencil, instead of the global cf_clear_depth_stencil.
| Parameters | Description |
|---|---|
canvas |
The canvas. |
depth |
The depth value this canvas clears to. 1.0 pairs with CF_COMPARE_FUNCTION_LESS_THAN. |
stencil |
The stencil value this canvas clears to. |
Remarks¶
See cf_canvas_set_clear_color. A canvas with no override clears to the global values.
Related Pages¶
CF_Canvas
cf_clear_depth_stencil
cf_canvas_set_clear_color
cf_clear_canvas
cf_render_state_3d_defaults