getClassType static TypeHandle GeomDrawCallbackData::get_class_type(void); Undocumented function. |
getForce bool GeomDrawCallbackData::get_force(void) const; Description: 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 GraphicsStateGuardianBase *GeomDrawCallbackData::get_gsg(void) const; Description: Returns a pointer to the current GSG. |
getLostState bool GeomDrawCallbackData::get_lost_state(void) const; Description: Returns the lost_state flag. See set_lost_state(). |
getObject CullableObject *GeomDrawCallbackData::get_object(void) const; Description: Returns a pointer to the particular object that is being drawn. |
setLostState void GeomDrawCallbackData::set_lost_state(bool lost_state); Description: 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. |
getClassType static TypeHandle CallbackData::get_class_type(void); Undocumented function. |
output virtual void CallbackData::output(ostream &out) const; Description: |
upcall virtual void CallbackData::upcall(void); Description: You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback. |
getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function. |
getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type(). |
getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). |
isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly. |
isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type. |