Toast Engine
Loading...
Searching...
No Matches
voxel::VolumeSurface Class Reference

Keyed by brick slot not pool id since uniform bricks have no pool id and shared bricks differ per instance. More...

#include <surface.hpp>

Public Member Functions

void rebuild (const Volume &volume)
void rebuildBrick (const Volume &volume, glm::ivec3 brick)
void repairAround (const Volume &volume, glm::ivec3 voxel)
void repairBrickRegion (const Volume &volume, glm::ivec3 brick)
void repairBricks (const Volume &volume, std::span< const glm::ivec3 > dirty)
auto brickSurface (glm::ivec3 brick) const -> std::span< const SurfaceVoxel >
auto surfaceVoxelCount () const -> size_t
auto populatedBrickCount () const noexcept -> size_t
auto brickDims () const noexcept -> glm::uvec3
template<typename Callback>
void forEachPopulatedBrick (Callback &&callback) const

Detailed Description

Keyed by brick slot not pool id since uniform bricks have no pool id and shared bricks differ per instance.


The documentation for this class was generated from the following files:
  • engine/src/toast/voxel/surface.hpp
  • engine/src/toast/voxel/surface.cpp