Uderzo v0.2.0 Uderzo.Bindings View Source
Uderzo Elixir->C bindings in Clixir. Note that for demo purposes, this is a hodgepodge of various modules - NanoVG, GLFW, utility methods, demo methods; there’s nothing however that precludes a clean separation. Yet ;-)
Link to this section Summary
Functions
Complete a frame. Similarly to uderzo_start_frame
, this
does some housekeeping and eventually a buffer swap to
display the frame
Initialize Uderzo. Calling this is mandatory
Setup the start of a frame. This function combines several things that should happen at the start of every frame: get the window size, the cursor position, etcetera, then set the viewport and clear the framebuffer
Link to this section Functions
Complete a frame. Similarly to uderzo_start_frame
, this
does some housekeeping and eventually a buffer swap to
display the frame.
Initialize Uderzo. Calling this is mandatory.
Setup the start of a frame. This function combines several things that should happen at the start of every frame: get the window size, the cursor position, etcetera, then set the viewport and clear the framebuffer.
When this function completes, it sends the mouse location and window dimensions back. It’s recommended to wait for this message and then send the rest of the frame drawing commands.