15 #ifndef TINYGEOMMUNGER_H
16 #define TINYGEOMMUNGER_H
18 #include "pandabase.h"
19 #include "standardMunger.h"
20 #include "graphicsStateGuardian.h"
21 #include "renderState.h"
37 virtual CPT(GeomVertexFormat) munge_format_impl(
const GeomVertexFormat *orig,
39 virtual CPT(GeomVertexFormat) premunge_format_impl(
const GeomVertexFormat *orig);
41 virtual int compare_to_impl(
const GeomMunger *other)
const;
42 virtual int geom_compare_to_impl(
const GeomMunger *other)
const;
48 static void init_type() {
49 StandardMunger::init_type();
50 register_type(_type_handle,
"TinyGeomMunger",
51 StandardMunger::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 #include "tinyGeomMunger.I"
This object describes how the vertex animation, if any, represented in a GeomVertexData is encoded...
Objects of this class are used to convert vertex data from a Geom into a format suitable for passing ...
Performs some generic munging that is appropriate for all GSG types; for instance, applies ColorAttrib and ColorScaleAttrib to the vertices, and checks for hardware-accelerated animation capabilities.
This specialization on GeomMunger finesses vertices for TinyPanda rendering.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
Encapsulates all the communication with a particular instance of a given rendering backend...
TypeHandle is the identifier used to differentiate C++ class types.