vk::load · Functions · E1
3 public declarations with native signatures and source-owned contracts.
FnRustExperimental
Fnvk::load::enumerate_instance_extension_properties
Contract
Enumerate instance extensions available without any layer.
Pass layer_name = None for the implicit layer (ICD + loader). Pass a
layer name to query extensions exposed by that specific layer.
Errors
Returns CallError::MissingCommand if the driver predates Vulkan 1.0
(practically impossible) or CallError::Vulkan on a driver failure.
Fnvk::load::enumerate_instance_layer_properties
Contract
Enumerate all implicit and explicit Vulkan layers installed on this system.
Errors
Returns CallError::MissingCommand if the command is absent or
CallError::Vulkan on a driver failure.
Fnvk::load::enumerate_instance_version
Contract
Query the loader API version. A Vulkan 1.0 loader has no version command.