Expand description
valo-renderer replays a recorded display list into wgpu render passes.
Hosts normally use the valo crate’s Context. This crate is the GPU core
that context wraps: it plans, encodes, and submits, and it owns only caches —
not application content. It talks to wgpu directly; there is no second GPU
abstraction.
HostBuffer: per-frame bump arena for transient uniforms and vertices. A 3-frame ring of persistent buffers means warm frames create nothing — the cost that matters most on wasm, where every create crosses into JS.PipelineCache: grow-only map of pipeline variants (format × blend × kind).
Structs§
- Atlas
Report AtlasReportsummarizes one glyph-atlas family.- Host
Buffer HostBufferbump-allocates per-draw uniforms and transient vertex data.- Image
Desc ImageDescdescribes an RGBA8 image upload.- Image
Store ImageStoreowns uploaded images, mip generation, samplers, and bind groups.- Memory
Report MemoryReportsummarizes resources retained between frames.- Pipeline
Cache PipelineCacheholds compiled render-pipeline variants.- Pipeline
Key PipelineKeyidentifies one compiled render pipeline variant.- Pool
Report PoolReportsummarizes one resource pool or cache.- Render
Stats RenderStatsreports the work performed by one render operation.- Render
Target RenderTargetis the destination for one render operation.- Renderer
Core RendererCorereplays display lists on a host-owned wgpu device.- Target
Pool TargetPoolreuses offscreen textures across frames.- Text
Tiers TextTiersselects the text rendering method by device-space font size.- Wgpu
Counters WgpuCountersreports wgpu’s internal live-object accounting.
Enums§
- Frag
Fragselects the fragment shader that colors a covered pixel.- Pipeline
Kind PipelineKindselects the vertex source and the color, depth, and stencil role.
Constants§
- DEPTH_
FORMAT DEPTH_FORMATis the combined depth/stencil format used by content pipelines.- IMAGE_
FORMAT IMAGE_FORMATis the GPU format of every uploaded image texture.- SAMPLE_
COUNT SAMPLE_COUNTis the MSAA sample count used by content pipelines.