vkf_viewer_frame_begin Interface

interface


Called by

interface~~vkf_viewer_frame_begin~~CalledByGraph interface~vkf_viewer_frame_begin vkf_viewer_frame_begin proc~frame WindowProxy%frame proc~frame->interface~vkf_viewer_frame_begin proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

public function vkf_viewer_frame_begin(viewer) bind(C, name="vkf_viewer_frame_begin")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: viewer

viewer handle (vkf_viewer_create)

Return Value integer(kind=c_int)

Description

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.