PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "cullBin.h"
#include "config_pgraph.h"
#include "pandaNode.h"
#include "geomNode.h"
#include "cullableObject.h"
#include "decalEffect.h"
#include "string_utils.h"
Go to the source code of this file.
Functions | |
PT (CullBin) CullBin | |
Returns a newly-allocated CullBin object that contains a copy of just the subset of the data from this CullBin object that is worth keeping around for next frame. More... | |
PT (PandaNode) CullBin | |
Returns a special scene graph constructed to represent the results of the cull. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file cullBin.cxx.
PT | ( | CullBin | ) |
Returns a newly-allocated CullBin object that contains a copy of just the subset of the data from this CullBin object that is worth keeping around for next frame.
If a particular CullBin object has no data worth preserving till next frame, it is acceptable to return NULL (which is the default behavior of this method). Called after all the geoms have been added, this indicates that the cull process is finished for this frame and gives the bins a chance to do any post-processing (like sorting) before moving on to draw.
Definition at line 42 of file cullBin.cxx.
PT | ( | PandaNode | ) |
Returns a special scene graph constructed to represent the results of the cull.
This will be a single node with a list of GeomNode children, which represent the various geom objects discovered by the cull.
This is useful mainly for high-level debugging and abstraction tools; it should not be mistaken for the low-level cull result itself. For the low- level cull result, use draw() to efficiently draw the culled scene.
Definition at line 65 of file cullBin.cxx.