14#ifndef STANDARDMUNGER_H
15#define STANDARDMUNGER_H
34 int num_components, NumericType numeric_type,
42 virtual int compare_to_impl(
const GeomMunger *other)
const;
43 virtual void munge_geom_impl(CPT(Geom) &geom, CPT(
GeomVertexData) &data,
45 virtual void premunge_geom_impl(CPT(Geom) &geom, CPT(
GeomVertexData) &data);
46 virtual int geom_compare_to_impl(
const GeomMunger *other)
const;
51 NumericType _numeric_type;
55 bool _shader_skinning;
56 bool _remove_material;
60 bool _munge_color_scale;
62 LVecBase4 _color_scale;
68 static void init_type() {
69 StateMunger::init_type();
71 StateMunger::get_class_type());
74 return get_class_type();
76 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
GraphicsStateGuardianBase * get_gsg() const
Returns a pointer to the GSG that created this munger.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
Encapsulates all the communication with a particular instance of a given rendering backend.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
StandardMunger(GraphicsStateGuardianBase *gsg, const RenderState *state, int num_components, NumericType numeric_type, Contents contents)
The StandardMunger constructor accepts additional parameters that specify the GSG's preferred color f...
A thread; that is, a lightweight process.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.