vkf_viewer_stats Interface

interface


Called by

interface~~vkf_viewer_stats~~CalledByGraph interface~vkf_viewer_stats vkf_viewer_stats proc~render_stats WindowProxy%render_stats proc~render_stats->interface~vkf_viewer_stats

public function vkf_viewer_stats(viewer, stats, n) bind(C, name="vkf_viewer_stats")

Arguments

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

viewer handle (vkf_viewer_create)

real(kind=c_double), intent(out) :: stats(*)
integer(kind=c_int), value :: n

the size of stats

Return Value integer(kind=c_int)

Description

The viewer's last frame drawn, into stats(1:n) (n at most 9): frames drawn, milliseconds waiting for a swapchain image, recording and submitting, presenting, the GPU's time (-1: not measured), the framebuffer's width and height, the device memory in use and its budget (bytes; -1: unknown). Returns 0, or -1.