public

Inheritance Graph

graph BT
	MaterialLib
	click MaterialLib "classMinSG_1_1VoxelWorld_1_1MaterialLib"

Description

Public Types

   
   
typedef uint32_t materialId_t

Public Functions

   
   
  MaterialLib()
   
Material & access(const Util::StringIdentifier & name)
   
Material & access( materialId_t id)
   
Material * get( materialId_t id) const
   
std::pair< materialId_t , bool > getMaterialId(const Util::StringIdentifier & name) const
   
materialId_t createMaterialId(const Util::StringIdentifier & name)
   
const std::unordered_map< Util::StringIdentifier , materialId_t > & getMaterials() const

Documentation

typedef
MinSG::VoxelWorld::MaterialLib::materialId_t

public
 
 
typedef uint32_t materialId_t

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:27


function
MinSG::VoxelWorld::MaterialLib::MaterialLib

public
   
   
MaterialLib( )

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:29


function
MinSG::VoxelWorld::MaterialLib::access

public inline
     
     
Material & access( const Util::StringIdentifier & name )

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:31


function
MinSG::VoxelWorld::MaterialLib::access

public inline
     
     
Material & access( materialId_t id )

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:36


function
MinSG::VoxelWorld::MaterialLib::get

public const inline
     
     
Material * get( materialId_t id ) const

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:46


function
MinSG::VoxelWorld::MaterialLib::getMaterialId

public const inline
     
     
std::pair< materialId_t , bool > getMaterialId( const Util::StringIdentifier & name ) const

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:51


function
MinSG::VoxelWorld::MaterialLib::createMaterialId

public inline
     
     
materialId_t createMaterialId( const Util::StringIdentifier & name )

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:55


function
MinSG::VoxelWorld::MaterialLib::getMaterials

public const inline
   
   
const std::unordered_map< Util::StringIdentifier , materialId_t > & getMaterials( ) const

Defined in MinSG/Ext/VoxelWorld/MaterialLib.h:63