VKVK·API ReferenceAPI Reference·ModulesModules·Modulevk::loadOpen the OS Vulkan library and initialize cached entry-point dispatch.MdRustExperimental12 symbolsSourceSourcePublished rustdocPublished rustdocEnCallErrorCallErrorEnumA Vulkan driver failure or a missing command (entry, instance or device level).StCapabilitiesCapabilitiesStructOwned snapshot of the API version and extension names used at creation. Device snapshots inherit instance extensions and cap the API version by the selected physical device. Feature records are owned; no input pNext pointers are retained.EnCommandSupportCommandSupportEnumVersion/extension admission for one exact command spelling. This does not validate enabled feature bits, parameters or Vulkan valid usage.EnCreatedHandleCreatedHandleEnumA native object returned successfully before dispatch initialization failed.StEntryEntryStructGlobal dispatch. Instances created here retain the native library independently.Fnenumerate_instance_extension_propertiesenumerate_instance_extension_propertiesFunctionEnumerate instance extensions available without any layer.Fnenumerate_instance_layer_propertiesenumerate_instance_layer_propertiesFunctionEnumerate all implicit and explicit Vulkan layers installed on this system.Fnenumerate_instance_versionenumerate_instance_versionFunctionQuery the loader API version. A Vulkan 1.0 loader has no version command.StFeaturesFeaturesStructSnapshot of exact feature records used to create a device.StFeatureValueFeatureValueStructOne explicitly captured native feature member. Names use the registry’s C spelling, so shaderInt64 remains recognizable in specification diagnostics.StInitializationFailureInitializationFailureStructRetains a created handle and its library when automatic rollback is impossible. The native object still needs explicit cleanup; dropping this error performs no destruction. Keep its parent and original allocator callback state alive.EnLoadErrorLoadErrorEnumLoading or required-command resolution failure.API referenceAPI reference