Toast Engine
Loading...
Searching...
No Matches
voxel_model.hpp File Reference
#include <array>
#include <cstdint>
#include <glm/glm.hpp>
#include <memory>
#include <optional>
#include <string_view>
#include <toast/assets/core_types.hpp>
#include <toast/voxel/brick_pool.hpp>
#include <toast/voxel/voxel_constants.hpp>
#include <toast/voxel/voxel_volume.hpp>
#include <vector>
Include dependency graph for voxel_model.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  assets::_detail::VoxelFileHeader
 Read before the version check so never add fields Body uint64 palette UID then uint32 stored brick count then uint32 per brick slot x fastest then 512 bytes per stored brick. More...
class  assets::VoxelModel

Variables

constexpr uint16_t assets::_detail::voxel_format_version = 1
 The header defaults from this so the writer and reader cannot disagree.

Detailed Description

Author
dario
Date
11/09/2026