23 void GeomDrawCallbackData::
24 output(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,
49 Thread::get_current_thread());
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void draw(GraphicsStateGuardianBase *gsg, bool force, Thread *current_thread)
Draws the cullable object on the GSG immediately, in the GSG's current state.
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...
TypeHandle is the identifier used to differentiate C++ class types.