Skip to main content

Module gpu_buffer

Module gpu_buffer 

Source
Expand description

GPU buffer management for oximedia-gpu.

Provides buffer usage flags, a logical GpuBuffer abstraction, and a pooled allocator (GpuBufferPool) that recycles buffers to reduce allocation overhead.

Structs§

GpuBuffer
A logical GPU buffer (CPU-side descriptor; no actual WGPU resource here).
GpuBufferPool
A simple pool that allocates and recycles GpuBuffer instances.

Enums§

BufferUsage
Describes how a GPU buffer will be used by the pipeline.