Skip to main content

Module buffer

Module buffer 

Source
Expand description

Persistent GPU buffer handles and reusable allocation pools.

Structsยง

BindGroupCache
Bounded LRU cache for wgpu bind groups, keyed by layout identity and the ordered set of buffer handles bound to that layout.
BindGroupCacheStats
Bind-group cache statistics for a compiled wgpu pipeline.
BufferPool
Reusable GPU buffer pool.
BufferPoolStats
Snapshot of BufferPool counters.
GpuBufferHandle
Cheaply cloneable handle for a GPU-resident buffer.
StagingBufferPool
Device-local staging buffer pool keyed by (size, usage).
StagingBufferPoolStats
Snapshot of StagingBufferPool counters.