Expand description
Auto-generated module
🤖 Generated with SplitRS
Structs§
- Async
Compute Queue - Models an async compute queue: a FIFO of
DispatchBatches that can be submitted independently of the graphics queue. - Barrier
Optimizer - Optimises a sequence of resource barriers by removing redundant ones.
- Barrier
Set - A collection of
ResourceBarriers that form a complete barrier schedule for one pipeline configuration. - Compute
Overlap Scheduler - Schedules compute dispatches to maximise GPU utilisation through overlapping.
- Compute
Pipeline - GPU compute pipeline descriptor (wgpu-agnostic, usable in unit tests).
- CpuBuffer
- Simulated GPU buffer backed by CPU memory for unit testing without a GPU.
- Dispatch
Batch - A single compute dispatch pass: one pipeline plus its bound buffers.
- Frame
Graph - A minimal frame graph that can validate pass dependencies.
- Frame
Graph Pass - A simple frame-graph pass descriptor.
- GpuMemory
Pool - A simple slab-style GPU memory pool that sub-allocates
CpuBuffers from a fixed-capacity backing store. - Multi
Queue Batch - A dispatched batch annotated with its target queue.
- Multi
Queue Recorder - Multi-queue command recorder: tracks which batches go to which queue.
- Physics
Pipeline - Orchestrates a complete simulation step through all enabled pipeline stages.
- Pipeline
Builder - Fluent builder for
PhysicsPipeline. - Pipeline
Config - Configuration for the high-level physics pipeline.
- Pipeline
Profiler - Records per-stage timing samples and provides basic statistics.
- Pipeline
Statistics - Low-level GPU pipeline statistics for one dispatch (mock).
- Pipeline
Stats - Per-step statistics produced by
PhysicsPipeline::step. - Resource
Aliasing Tracker - Tracks resource aliasing: two logical resources that share the same physical memory (pool allocation) at non-overlapping lifetimes.
- Resource
Barrier - Describes a memory/execution barrier between two pipeline stages.
- Resource
Handle - An opaque handle to a pool-allocated GPU resource.
- Stage
Timer - Wraps an
Instantand records the elapsed duration of a stage. - Timestamp
Query - A timestamp query pair
(begin, end)for a named pass. - Timestamp
Query Set - A set of
TimestampQuerys collected during one frame / step. - World
State - Minimal world state passed to
PhysicsPipeline::step.
Enums§
- Buffer
Usage - Describes how a
CpuBufferwill be used by the pipeline. - Pipeline
Stage - A distinct stage in the physics simulation pipeline.
- Queue
Type - Models multiple compute queues (graphics queue + async compute queue).