Skip to content

raylib.EndDrawing

JoeStrout edited this page Apr 29, 2026 · 2 revisions

End canvas drawing and swap buffers (double buffering)

Parameters

None.

Return value

None.

Notes

Example

raylib.InitWindow 800, 600, "EndDrawing"
while not raylib.WindowShouldClose
    raylib.BeginDrawing
    raylib.ClearBackground raylib.BLACK
    // ... draw stuff ...
    raylib.EndDrawing
end while
raylib.CloseWindow

Clone this wiki locally