Expand description
ยงPrepare pass
TODO: document this!
Constantsยง
- MAX_
MASK_ ๐SIZE - MIN_
BRUSH_ ๐SPLIT_ AREA
Functionsยง
- adjust_
mask_ ๐scale_ for_ max_ size - build_
segments_ ๐if_ needed - can_
use_ ๐clip_ chain_ for_ quad_ path - decompose_
repeated_ ๐gradient - prepare_
interned_ ๐prim_ for_ render - Prepare an interned primitive for rendering, by requesting resources, render tasks etc. This is equivalent to the prepare_prim_for_render_inner call for old style primitives.
- prepare_
picture - The entry point of the preapre pass.
- prepare_
prim_ ๐for_ render - prepare_
primitives ๐ - update_
brush_ segment_ clip_ task - Write out to the clip mask instances array the correct clip mask config for this segment.
- update_
clip_ task - update_
clip_ ๐task_ for_ brush - write_
brush_ ๐segment_ description - write_
segment ๐