VoxelFarm::CMaterialLibrary Class Reference

Contains all materials available in the system. More...

#include <MaterialLibrary.h>

Public Member Functions

void init (int mapSize, int materialCount)
 
CMaterialgetMaterial (int index)
 
virtual int getMaterialMapping (int material) const
 

Public Attributes

int mapSize
 Defines the map size shared by all the bitmaps in the library. Must be a power of 2.
 
CMaterialmaterialIndex
 An index to all materials.
 
int materialCount
 Number of materials.
 
CBillboardLODPacking billboardPack
 Billboard atlas packing data.
 

Detailed Description

Contains all materials available in the system.

Definition at line 231 of file MaterialLibrary.h.


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