Skip to main content

Module context

Module context 

Source
Expand description

GPU context — Vulkan-first device initialisation and resource factory.

GpuContext owns the GPU device stack and provides creation methods that return agpu resource types. agpu prefers Vulkan by default, falling back to the platform backend when Vulkan is unavailable.

Structs§

GpuContext
Core GPU context — instance, adapter, device, and queue.

Enums§

GpuError
Errors from GPU initialisation.