module
VoxelsAdds grid and palette assets to Cubos.
Bridges
- VoxelGridBridge - registered with the
.grd
extension, loads VoxelGrid assets. - VoxelPaletteBridge - registered with the
.pal
extension, loads VoxelPalette assets. - VoxelModelBridge - registered with the
.qb
extension, loads VoxelModel assets.
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)
#include <engine/voxels/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |