| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | viewer |
viewer handle (vkf_viewer_create) |
The first part of a frame (compiling the scene on the first call): up to the window's events handled (the trackball has moved the camera), before the scene is drawn (vkf_viewer_frame_draw): a program can still change the scene for this frame in between. Returns 1 while the viewer is running, 0 once its window has been closed, -1 on failure.