32 return get_global_ptr()->ns_get_material(temp);
40 get_global_ptr()->ns_release_material(material);
49 get_global_ptr()->ns_release_all_materials();
59 return get_global_ptr()->ns_garbage_collect();
67 get_global_ptr()->ns_list_contents(out);
static Material * get_material(Material *temp)
Returns a Material pointer that represents the same material described by temp, except that it is a s...
static void release_all_materials()
Releases all materials in the pool and restores the pool to the empty state.
static int garbage_collect()
Releases only those materials in the pool that have a reference count of exactly 1; i....
static void list_contents(std::ostream &out)
Lists the contents of the material pool to the indicated output stream.
static void release_material(Material *temp)
Removes the indicated material from the pool.
Defines the way an object appears in the presence of lighting.