35 if (!(mask.
at < where))
return false;
50 for (
u32 i = 0; i < count; ++i) {
53 if (!nearest || nearest->
at < mask.
at) nearest = &mask;
std::int32_t i32
Signed 32-bit integer.
bool maskReaches(const ResolvedMask &mask, const DrawList::SortIdentity &where)
Whether mask still covers a draw sitting at where.
const ResolvedMask * nearestReachingMask(const ResolvedMask *masks, u32 count, const DrawList::SortIdentity &where)
The mask whose ref the stencil still holds at where, or null.
std::uint32_t u32
Unsigned 32-bit integer.
Where a draw sits in the frame's order, once any group has had its say.
A SpriteMask's own place in the frame, how far it reaches, and the ref it stamps.
DrawList::SortIdentity at
DrawList::SortIdentity reachEnd