Skip to main content

Module flex_text_pipeline

Module flex_text_pipeline 

Source
Expand description

Late-pass textured-quad pipeline for FlexText scene nodes.

Structurally identical to SpritePipeline β€” same shader, same instancing layout, same blend-mode cache β€” but walks the scene for Node::FlexText instead of Node::Sprite and is invoked by the renderer in the fourth render pass, after TextPipeline. The intent is for cosmic-text-rendered axis labels / legends / KPI big numbers to paint on top of the chart’s Graphics primitives instead of under them.

Kept as a separate file from sprite_pipeline.rs so the pass order is self-documenting at the call site in crate::render::Renderer::render_stage_fast.

StructsΒ§

Batch πŸ”’
FlexTextInstance πŸ”’
FlexTextPipeline πŸ”’

ConstantsΒ§

ATTR_LAYOUT πŸ”’

FunctionsΒ§

collect_batches πŸ”’
push_flex_text_instance πŸ”’
with_premultiplied_alpha πŸ”’