|
Toast Engine
|
#include "shadow_slots.hpp"#include "shadow_constants.hpp"#include <algorithm>#include <array>#include <atomic>#include <utility>
Functions | |
| auto | renderer::shadow_slots::assign (std::span< const Candidate > candidates, std::span< Slot > slots, std::span< int32_t > slot_of) -> uint32_t |
| slot_of is -1 for losers and the return counts owners displaced | |
| auto | renderer::shadow_slots::owns (std::span< const Slot > slots, uint64_t key) -> bool |
| auto | renderer::shadow_slots::retention () -> float |
| auto | renderer::shadow_slots::graceFrames () -> uint32_t |
| void | renderer::shadow_slots::setRetention (float factor) |
| void | renderer::shadow_slots::setGraceFrames (uint32_t frames) |
| auto | renderer::shadow_slots::stableResolution (uint32_t current, float camera_distance, float resolution_scale) -> uint32_t |
| Keeps the current tier until the camera distance leaves its band. | |