Skip to main content

Module load

Module load 

Source
Expand description

Open the OS Vulkan library and initialize cached entry-point dispatch.

Structs§

Capabilities
Owned 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.
Entry
Global dispatch. Instances created here retain the native library independently.
FeatureValue
One explicitly captured native feature member. Names use the registry’s C spelling, so shaderInt64 remains recognizable in specification diagnostics.
Features
Snapshot of exact feature records used to create a device.
InitializationFailure
Retains 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.

Enums§

CallError
A Vulkan driver failure or a missing command (entry, instance or device level).
CommandSupport
Version/extension admission for one exact command spelling. This does not validate enabled feature bits, parameters or Vulkan valid usage.
CreatedHandle
A native object returned successfully before dispatch initialization failed.
LoadError
Loading or required-command resolution failure.

Functions§

enumerate_instance_extension_properties
Enumerate instance extensions available without any layer.
enumerate_instance_layer_properties
Enumerate all implicit and explicit Vulkan layers installed on this system.
enumerate_instance_version
Query the loader API version. A Vulkan 1.0 loader has no version command.