2 #include "VoxelLayer.h"
12 virtual void getVoxels(
18 VoxelFarm::VoxelType* changeFlags,
19 VoxelFarm::MaterialId* materials,
39 void* threadContext)
override;
Contains all classes and functions for the VoxelFarm engine.
int getStatsContourId() override
Returns the stats ID to be used for measuring performance of the getContourData() method...
unsigned __int64 CellId
A 64bit integer that identifies a single world octree Cell.
An interface for a voxel layer. By implementing this interface, very different modules can contribute...
const int BLOCK_CUBE_SIZE
Actual number of voxels in a Cell once margins are considered.
virtual void disposeThreadContext(void *threadContext) override
Destroys the specified thread context.
virtual void * createThreadContext() override
The voxel layer can use this method to return a structure that will be unique for each calling thread...
virtual void getContourData(CellId cell, ContourVoxelData *data, bool &empty, void *threadContext) override
Returns voxel data for the specified cell (IVoxelLayer)