15 #include "config_cull.h"
17 #include "cullBinBackToFront.h"
18 #include "cullBinFixed.h"
19 #include "cullBinFrontToBack.h"
20 #include "cullBinStateSorted.h"
21 #include "cullBinUnsorted.h"
23 #include "cullBinManager.h"
26 ConfigureDef(config_cull);
27 NotifyCategoryDef(cull,
"");
29 ConfigureFn(config_cull) {
43 static bool initialized =
false;
49 CullBinBackToFront::init_type();
50 CullBinFixed::init_type();
51 CullBinFrontToBack::init_type();
52 CullBinStateSorted::init_type();
53 CullBinUnsorted::init_type();
static CullBin * make_bin(const string &name, GraphicsStateGuardianBase *gsg, const PStatCollector &draw_region_pcollector)
Factory constructor for passing to the CullBinManager.
static CullBin * make_bin(const string &name, GraphicsStateGuardianBase *gsg, const PStatCollector &draw_region_pcollector)
Factory constructor for passing to the CullBinManager.
static CullBinManager * get_global_ptr()
Returns the pointer to the global CullBinManager object.
static CullBin * make_bin(const string &name, GraphicsStateGuardianBase *gsg, const PStatCollector &draw_region_pcollector)
Factory constructor for passing to the CullBinManager.
void register_bin_type(BinType type, BinConstructor *constructor)
Intended to be called at startup type by each CullBin type, to register the constructor for each type...
static CullBin * make_bin(const string &name, GraphicsStateGuardianBase *gsg, const PStatCollector &draw_region_pcollector)
Factory constructor for passing to the CullBinManager.
static CullBin * make_bin(const string &name, GraphicsStateGuardianBase *gsg, const PStatCollector &draw_region_pcollector)
Factory constructor for passing to the CullBinManager.
This is a global object that maintains the collection of named CullBins in the world.