Engine » Voxels module

Adds grid and palette assets to Cubos.

Bridges

Dependencies

Files

file grid.hpp
Class cubos::engine::VoxelGrid.
file grid_bridge.hpp
Class cubos::engine::GridBridge.
file material.hpp
Class cubos::engine::VoxelMaterial.
file model.hpp
Class cubos::engine::VoxelModel.
file model_bridge.hpp
Class cubos::engine::VoxelModelBridge.
file palette.hpp
Class cubos::engine::VoxelPalette.
file palette_bridge.hpp
Class cubos::engine::PaletteBridge.
file plugin.hpp
Plugin entry point.

Classes

class cubos::engine::VoxelGrid
Represents a voxel object using a 3D grid.
class cubos::engine::VoxelGridBridge
Bridge which loads and saves Grid assets.
struct cubos::engine::VoxelMaterial
Describes a voxel material.
class cubos::engine::VoxelModel
Holds the data loaded from voxel model files, such as Qubicle models.
class cubos::engine::VoxelPalette
Holds a palette of materials. Supports up to 65535 materials.

Functions

auto voxelsPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Function documentation

CUBOS_ENGINE_API void voxelsPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.