Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
skgpu::graphite::DisjointStencilIndexSequence Struct Reference

#include <DrawOrder.h>

Detailed Description

Each DisjointStencilIndex specifies an implicit set of non-overlapping draws. Assuming that two draws have the same CompressedPaintersOrder and the same DisjointStencilIndex, their substeps for multi-pass rendering (stencil-then-cover, etc.) can be intermingled with each other and produce the same results as if each draw's substeps were executed in order before moving on to the next draw's.

Ordering within a set can be entirely arbitrary (i.e. all stencil steps can go before all cover steps). Ordering between sets is also arbitrary since all draws share the same CompressedPaintersOrder, so long as one set is entirely drawn before the next.

Two draws that have different CompressedPaintersOrders but the same DisjointStencilIndex are unrelated, they may or may not overlap. The painters order scopes the disjoint sets.

Definition at line 74 of file DrawOrder.h.


The documentation for this struct was generated from the following file: