VoxelFarm::ClassData Class Reference

Defines a voxel class that can be instanced many times over. More...

#include <InstanceManager.h>

Public Attributes

short originX
 Offset to the center of the voxel data in the X axis.
 
short originY
 Offset to the center of the voxel data in the Y axis.
 
short originZ
 Offset to the center of the voxel data in the Z axis.
 
short sizeX
 Voxel data size along X axis.
 
short sizeY
 Voxel data size along Y axis.
 
short sizeZ
 Voxel data size along Z axis.
 
unsigned int * data [MAX_INSTANCE_LOD]
 
unsigned int * indices [MAX_INSTANCE_LOD]
 Buffer containing indices to compressed streams.
 
unsigned char * stream [MAX_INSTANCE_LOD]
 Buffer containing compressed data.
 
int streamSize [MAX_INSTANCE_LOD]
 Number of bytes in the compressed stream.
 
short minX [MAX_INSTANCE_LOD]
 
short minY [MAX_INSTANCE_LOD]
 
short minZ [MAX_INSTANCE_LOD]
 
short maxX [MAX_INSTANCE_LOD]
 
short maxY [MAX_INSTANCE_LOD]
 
short maxZ [MAX_INSTANCE_LOD]
 
bool vectorOverflow
 

Detailed Description

Defines a voxel class that can be instanced many times over.

Definition at line 27 of file InstanceManager.h.


The documentation for this class was generated from the following file: