#include <pandabase.h>
#include "material.h"
#include <indirectCompareTo.h>
#include <pointerTo.h>
#include "pset.h"
#include "materialPool.I"
Go to the source code of this file.
Compounds | |
class | MaterialPool |
The MaterialPool (there is only one in the universe) serves to unify different pointers to the same Material, so we do not (a) waste memory with many different Material objects that are all equivalent, and (b) waste time switching the graphics engine between different Material states that are really the same thing. More... |
Definition in file materialPool.h.