# gl/reset Clear the calling app's 3D scene vertex buffer for the next frame. The background color (`gl/bg`) and the projection/view/model matrices are untouched. ## Syntax
[gl/reset]
## Examples
def cv [draw/canvas %{ :width 80 :height 40 }]
[gl/scene $cv]
[gl/reset]                       # start a fresh frame
[gl/perspective 60.0 1.5 0.1 100.0]
[gl/identity]
[gl/triangle 0.0 1.0 0.0  -1.0 -1.0 0.0  1.0 -1.0 0.0  "#ff0000"]
[gl/present $cv]
## Returns nil. Scene state persists across frames, so call `gl/reset` at the start of each redraw. GL-only — on the ANSI host the per-runtime scene data is cleared but nothing renders. ## See Also `gl/scene`, `gl/bg`, `gl/present`, `gl/identity`