Skip to main content

Module visibility

Module visibility 

Source
Expand description

§Visibility pass

TODO: document what this pass does!

Structs§

FrameVisibilityContext
FrameVisibilityState
PrimitiveDrawHeader
Information stored for a visible primitive about the visible rect and associated clip information.
PrimitiveVisibilityFlags
A set of bitflags that can be set in the visibility information for a primitive instance. This can be used to control how primitives are treated during batching.

Enums§

DrawState
Contains the current state of the primitive’s visibility.
KindScratchHandle
Per-draw, per-kind scratch handle. Reaches the appropriate per-frame scratch entry for the drawn primitive’s kind. The variant matches the prim’s PrimitiveKind. None for kinds without per-frame scratch.

Functions§

compute_conservative_visible_rect
update_prim_visibility