26class EXPCL_PANDA_PGRAPH StateMunger :
public GeomMunger {
29 virtual ~StateMunger();
37 bool _should_munge_state;
43 static void init_type() {
44 GeomMunger::init_type();
46 GeomMunger::get_class_type());
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
ConstPointerTo< RenderState > munge_state(const RenderState *state)
Given an input state, returns the munged state.
bool should_munge_state() const
Returns true if this munger has something interesting to do to the state.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.