Toast Engine
Loading...
Searching...
No Matches
runtime_pool.hpp File Reference
#include "brick_pool.hpp"
#include <cstdint>
#include <mutex>
#include <toast/export.hpp>
Include dependency graph for runtime_pool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

auto voxel::runtimeBrickPool () -> BrickPool &
auto voxel::runtimePoolMutex () -> std::mutex &
 Held while physics writes runtime volumes and while the renderer packs them.

Variables

constexpr uint32_t voxel::k_runtime_brick_capacity = 1u << 16

Detailed Description

Author
dario
Date
13/09/2026

Function Documentation

◆ runtimeBrickPool()

TOAST_API auto voxel::runtimeBrickPool ( ) -> BrickPool &
nodiscard
Note
Main thread only