40class EXPCL_PANDA_PGRAPH CullBin :
public TypedReferenceCount,
public CullBinEnums {
42 INLINE CullBin(
const CullBin ©);
44 INLINE CullBin(
const std::string &name, BinType bin_type,
49 INLINE
const std::string &get_name()
const;
50 INLINE BinType get_bin_type()
const;
57 virtual void draw(
bool force,
Thread *current_thread)=0;
61 INLINE
bool has_flash_color()
const;
62 INLINE
const LColor &get_flash_color()
const;
65 class ResultGraphBuilder;
66 virtual void fill_result_graph(ResultGraphBuilder &builder)=0;
69 void check_flash_color();
77 class EXPCL_PANDA_PGRAPH ResultGraphBuilder {
101 static void init_type() {
102 TypedReferenceCount::init_type();
104 TypedReferenceCount::get_class_type());
107 return get_class_type();
109 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Provides scoping for the enumerated type shared by CullBin and CullBinManager.
virtual PointerTo< CullBin > make_next() const
Returns a newly-allocated CullBin object that contains a copy of just the subset of the data from thi...
virtual void finish_cull(SceneSetup *scene_setup, Thread *current_thread)
Called after all the geoms have been added, this indicates that the cull process is finished for this...
PointerTo< PandaNode > make_result_graph()
Returns a special scene graph constructed to represent the results of the cull.
The smallest atom of cull.
A node that holds Geom objects, renderable pieces of geometry.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
A lightweight class that represents a single element that may be timed and/or counted via stats.
A basic node of the scene graph or data graph.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
This object holds the camera position, etc., and other general setup information for rendering a part...
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.