Contents

SushiEngine

select_overlay_labels

template <int Capacity>
int select_overlay_labels(const SkyMarkerCandidate *candidates, int count, bool *out_visible) noexcept

Parameters

NameTypeDescription
candidatesconst SkyMarkerCandidate *
countint

How many candidates; anything past Capacity is ignored.

out_visiblebool *

Returns

int

Description

Chooses which labels draw when their boxes collide.

Template parameters

Capacity

Largest number of candidates one pass considers.

See also

engine/foundation/core/include/README.md