14#ifndef GEOMDRAWCALLBACKDATA_H
15#define GEOMDRAWCALLBACKDATA_H
28class EXPCL_PANDA_PGRAPH GeomDrawCallbackData :
public CallbackData {
34 virtual void output(std::ostream &out)
const;
55 static void init_type() {
56 CallbackData::init_type();
58 CallbackData::get_class_type());
61 return get_class_type();
63 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
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 function that would ...
The smallest atom of cull.
bool get_force() const
Returns true if any required data should be forced into memory if necessary to render the object,...
void set_lost_state(bool lost_state)
Sets the lost_state flag.
bool get_lost_state() const
Returns the lost_state flag.
GraphicsStateGuardianBase * get_gsg() const
Returns a pointer to the current GSG.
CullableObject * get_object() const
Returns a pointer to the particular object that is being drawn.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...