Module maplibre::render::render_phase
source · Expand description
Describes the concept of a RenderPhase
and PhaseItem
Modules§
- draw 🔒
Structs§
- A resource to collect and sort draw requests for specific
PhaseItems
.
Enums§
Traits§
- A draw function which is used to draw a specific
PhaseItem
. - An item which will be drawn to the screen. A phase item should be queued up for rendering during the
RenderStageLabel::Queue
stage. Afterwards it will be sorted and rendered automatically in theRenderStageLabel::PhaseSort
stage andRenderStageLabel::Render
stage, respectively. RenderCommand
is a trait that runs an ECS query and produces one or moreTrackedRenderPass
calls. Types implementing this trait can be composed (as tuples).