19 TypeHandle DisplayRegionCullCallbackData::_type_handle;
25 DisplayRegionCullCallbackData::
27 _cull_handler(cull_handler),
28 _scene_setup(scene_setup)
35 void DisplayRegionCullCallbackData::
36 output(std::ostream &out)
const {
37 out << get_type() <<
"(" << (
void *)_cull_handler <<
", " 38 << (
void *)_scene_setup <<
")";
52 Thread *current_thread = Thread::get_current_thread();
56 dr->do_cull(_cull_handler, _scene_setup, gsg, current_thread);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void upcall()
You should make this call during the callback if you want to continue the normal rendering function t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
get_window
Returns the GraphicsOutput that this DisplayRegion is ultimately associated with, or NULL if no windo...
A thread; that is, a lightweight process.
Encapsulates all the communication with a particular instance of a given rendering backend.
A rectangular subregion within a window for rendering into.
DisplayRegion * get_display_region() const
Returns the display region for the scene.
TypeHandle is the identifier used to differentiate C++ class types.
This object holds the camera position, etc., and other general setup information for rendering a part...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.