23void GeomDrawCallbackData::
24output(std::ostream &out)
const {
25 out << get_type() <<
"(" << (
void *)_obj <<
", " << (
void *)_gsg
26 <<
", " << _force <<
")";
42 if (_obj->_geom !=
nullptr) {
45 _gsg->clear_state_and_transform();
48 _obj->_geom->
draw(_gsg, _obj->_munged_data, _force,
void draw(GraphicsStateGuardianBase *gsg, bool force, Thread *current_thread)
Draws the cullable object on the GSG immediately, in the GSG's current state.
virtual void upcall()
You should make this call during the callback if you want to continue the normal rendering function t...
get_current_thread
Returns a pointer to the currently-executing Thread object.
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.