vkf_viewer_device_info Interface

interface


Called by

interface~~vkf_viewer_device_info~~CalledByGraph interface~vkf_viewer_device_info vkf_viewer_device_info proc~device_info WindowProxy%device_info proc~device_info->interface~vkf_viewer_device_info

public function vkf_viewer_device_info(viewer, which, buf, buflen) bind(C, name="vkf_viewer_device_info")

Arguments

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

viewer handle (vkf_viewer_create)

integer(kind=c_int), value :: which

1 to 5 (see above)

character(kind=c_char, len=1), intent(out) :: buf(*)
integer(kind=c_int), value :: buflen

the length of buf

Return Value integer(kind=c_int)

Description

The viewer's Vulkan device into buf (blank-padded): which = 1 its name, 2 its type, 3 the Vulkan version it supports, 4 its driver's name, 5 its driver's information. Returns the length, or -1.