GeomDrawCallbackData
from panda3d.core import GeomDrawCallbackData
- class GeomDrawCallbackData
Bases:
CallbackData
This specialization on CallbackData is passed when the callback is initiated from deep within the draw traversal, for a particular Geom.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getForce()
C++ Interface: get_force(GeomDrawCallbackData self)
- /**
Returns true if any required data should be forced into memory if necessary
to render the object, or false if the object should be omitted if some of
the data is not available (at least until the data becomes available
later).
*/
- getGsg()
C++ Interface: get_gsg(GeomDrawCallbackData self)
- /**
Returns a pointer to the current GSG.
*/
- getLostState()
C++ Interface: get_lost_state(GeomDrawCallbackData self)
- /**
Returns the lost_state flag. See set_lost_state().
*/
- get_class_type()
C++ Interface: get_class_type()
- get_force()
C++ Interface: get_force(GeomDrawCallbackData self)
- /**
Returns true if any required data should be forced into memory if necessary
to render the object, or false if the object should be omitted if some of
the data is not available (at least until the data becomes available
later).
*/
- get_gsg()
C++ Interface: get_gsg(GeomDrawCallbackData self)
- /**
Returns a pointer to the current GSG.
*/
- get_lost_state()
C++ Interface: get_lost_state(GeomDrawCallbackData self)
- /**
Returns the lost_state flag. See set_lost_state().
*/
- setLostState()
C++ Interface: set_lost_state(const GeomDrawCallbackData self, bool lost_state)
- /**
Sets the lost_state flag. If this is true, the callback does not have to
be quite so careful to clean up after itself; Panda will assume that the
graphics state is in an unknown state after the callback has finished, and
will issue all the necessary calls to restore it. If this is false, Panda
will assume the callback will leave the graphics state exactly as it came
in, and won’t bother to try to restore it. The default is true.
*/
- set_lost_state()
C++ Interface: set_lost_state(const GeomDrawCallbackData self, bool lost_state)
- /**
Sets the lost_state flag. If this is true, the callback does not have to
be quite so careful to clean up after itself; Panda will assume that the
graphics state is in an unknown state after the callback has finished, and
will issue all the necessary calls to restore it. If this is false, Panda
will assume the callback will leave the graphics state exactly as it came
in, and won’t bother to try to restore it. The default is true.
*/