Toast Engine
Loading...
Searching...
No Matches
voxel_node_utils.hpp File Reference

Helpers the voxel nodes share, not part of the API. More...

#include <cstdint>
#include <memory>
#include <optional>
#include <string_view>
#include <toast/assets/asset_manager.hpp>
#include <toast/assets/assets.hpp>
#include <toast/voxel/assets/voxel_model.hpp>
#include <toast/voxel/procedural_pool.hpp>
#include <toast/voxel/voxel_volume.hpp>
Include dependency graph for voxel_node_utils.hpp:

Go to the source code of this file.

Namespaces

namespace  toast::_detail
 Member-robber pattern used by the generated reflection code.

Enumerations

enum  : uint8_t { k_message_outside = 40 , k_message_misaligned = 41 }

Functions

template<typename T>
auto toast::_detail::assetOfType (const assets::Handle< T > &handle, std::string_view type) -> const T *
auto toast::_detail::instantiateModel (const assets::VoxelModel &model) -> std::unique_ptr< voxel::Volume >

Detailed Description

Helpers the voxel nodes share, not part of the API.

Author
Xein
Date
27 Sep 2026