Skip to main content

Module device

Module device 

Source
Expand description

Vulkan instance / physical-device / logical-device / compute-queue singleton, brought up through ash with the dynamically-loaded Vulkan loader. If no loader / driver is present (Entry::load() fails) or no device exposes a compute queue, vulkan_device returns None and the whole backend reports itself unavailable — the crate still compiles and links on hosts without Vulkan (macOS without MoltenVK, CI).

Structs§

VulkanDevice
Owned Vulkan context. One per process.

Functions§

vulkan_device
The process-wide Vulkan device, or None when unavailable.