module
Render VoxelsCommon interface for voxel rendering plugins.
By itself, this plugin does not provide any behavior. It simply registers the basic components which are then used by other plugins to render voxels. This allows for a modular design, where different rendering techniques can be implemented and swapped out without changing the rest of the engine.
Files
- file grid.hpp
- Component cubos::
engine:: RenderVoxelGrid. - file load.hpp
- Component cubos::
engine:: LoadRenderVoxels. - file palette.hpp
- Resource cubos::
engine:: RenderPalette. - file plugin.hpp
- Plugin entry point.
Classes
- struct cubos::engine::RenderVoxelGrid
- Component used to draw voxel grids.
- struct cubos::engine::LoadRenderVoxels
- Component used to indicate that a voxel grid should be sent to the GPU.
- struct cubos::engine::RenderPalette
- Resource which identifies the currently active palette of the scene.
Functions
-
auto renderVoxelsPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void renderVoxelsPlugin(Cubos& cubos)
#include <engine/render/voxels/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |