Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
public function vkf_viewer_stats(viewer, stats, n) bind(C, name="vkf_viewer_stats")
Arguments
Type
Intent
Optional
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.