Go to the documentation of this file.
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 <<
")";
56 dr->do_cull(_cull_handler, _scene_setup, gsg, current_thread);
DisplayRegion * get_display_region() const
Returns the display region for the scene.
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...
A rectangular subregion within a window for rendering into.
get_current_thread
Returns a pointer to the currently-executing Thread object.
This object holds the camera position, etc., and other general setup information for rendering a part...
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.
get_window
Returns the GraphicsOutput that this DisplayRegion is ultimately associated with, or NULL if no windo...
Encapsulates all the communication with a particular instance of a given rendering backend.
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...