| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(kind=c_char, len=1), | intent(out), | dimension(*) | :: | buf |
the name (not null-terminated) |
|
| integer(kind=c_int), | value | :: | buflen |
the length of |
Name of the first Vulkan physical device, into buf; returns its length, or -1 on failure.
Needs no window, so it checks that the Vulkan loader finds a driver (MoltenVK on macOS).