Skip to main content

Module render_graph

Module render_graph 

Source
Expand description

Render Graph — declarative, dependency-ordered GPU pass scheduling.

The render graph describes the full frame as a directed acyclic graph (DAG) of render passes, each consuming and producing named resources (textures, render targets, buffers). The graph compiler topologically sorts passes, deduces resource lifetimes, inserts memory barriers, and drives execution.

§Key Types

Structs§

Barrier
A memory / image-layout barrier between two passes.
CompileStats
CompiledGraph
The output of graph compilation: passes in execution order with barriers.
CompiledPass
A pass in the compiled execution order, with pre-computed barriers.
PassBuilder
Fluent builder for a single render pass.
RenderGraph
Builder for a frame’s render graph.
RenderPass
A single node in the render graph.
ResourceDesc
Description of a render graph texture resource.

Enums§

GraphError
PassKind
What kind of work a render pass performs.
ResourceAccess
How a pass accesses a resource.
ResourceSize
Size of a render graph resource, possibly relative to the output framebuffer.
TextureFormat
Format of a texture resource.

Functions§

standard_frame_graph
Build the standard proof-engine frame render graph.