Module render_task_graph

Source
Expand description

This module contains the render task graph.

Code associated with creating specific render tasks is in the render_task module.

StructsΒ§

Pass
A pass expresses dependencies between tasks. Each pass consists of a number of subpasses.
PassId
RenderPass
A render pass represents a set of rendering operations that don’t depend on one another.
RenderTaskAllocation
Allows initializing a render task directly into the render task buffer.
RenderTaskGraph
The RenderTaskGraph is the immutable representation of the render task graph. It is built by the RenderTaskGraphBuilder, and is constructed once per frame.
RenderTaskGraphBuilder
The persistent interface that is used during frame building to construct the frame graph.
RenderTaskId
SubPass
A subpass is a specific render target, and a list of tasks to draw to it.
Surface πŸ”’
An internal representation of a dynamic surface that tasks can be allocated into. Maintains some extra metadata about each surface during the graph build.

EnumsΒ§

SubPassSurface
A sub-pass can draw to either a dynamic (temporary render target) surface, or a persistent surface (texture or picture cache).

ConstantsΒ§

TEXTURE_DIMENSION_MASK πŸ”’
If we ever need a larger texture than the ideal, we better round it up to a reasonable number in order to have a bit of leeway in case the size of this this target is changing each frame.

FunctionsΒ§

assign_free_pass πŸ”’
dump_render_tasks_as_svg
dump_task_dependency_link πŸ”’