Expand description
Direct Hardware GPU Device Abstraction and Presentation Context.
Provides a zero-overhead hardware GPU abstraction supporting Vulkan, Metal, DirectX 12, and WebGPU backends with swapchains, command encoders, and VRAM buffers.
Structs§
- GpuAdapter
- Physical GPU adapter discovered on the host system.
- GpuBuffer
Handle - Abstract GPU VRAM buffer handle with device-allocated memory.
- GpuCommand
Encoder - GPU command recording context for hardware rendering.
- GpuContext
- Overarching GPU Context coordinating adapter discovery, device acquisition, and queue lifecycle.
- GpuDevice
- Hardware GPU Device managing resources, command queues, and swapchain presentation.
- GpuFeatures
- Features and capabilities supported by the GPU device.
- GpuLimits
- Hardware limits supported by a GPU device.
- GpuOffscreen
Surface - Hardware offscreen render target surface for headless CI testing, server-side rendering, and image generation.
- GpuQueue
- Hardware GPU command queue managing submission, fences, and execution metrics.
- GpuRender
Pass Descriptor - Hardware render pass descriptor specifying color and depth attachments.
- GpuSurface
Presenter - Hardware-accelerated GPU surface presenter implementing SurfacePresenter.
- GpuSwapchain
- Hardware swapchain managing surface texture queue and presentation timing.
- GpuTexture
Handle - Abstract hardware GPU texture handle.
Enums§
- GpuBackend
- Active hardware graphics API backend.
- GpuBuffer
Usage - GPU buffer allocation usage type.
- GpuDevice
Type - GPU physical device classification.
- GpuMemory
Location - GPU memory residence location.
- GpuPresent
Mode - Presentation mode defining how swapchain images are presented.