15 #ifndef DXGEOMMUNGER9_H
16 #define DXGEOMMUNGER9_H
18 #include "pandabase.h"
19 #include "standardMunger.h"
20 #include "graphicsStateGuardian.h"
21 #include "weakPointerTo.h"
22 #include "weakPointerCallback.h"
35 virtual ~DXGeomMunger9();
36 ALLOC_DELETED_CHAIN(DXGeomMunger9);
38 virtual void wp_callback(
void *);
41 virtual CPT(GeomVertexFormat) munge_format_impl(
const GeomVertexFormat *orig,
43 virtual CPT(GeomVertexFormat) premunge_format_impl(
const GeomVertexFormat *orig);
45 virtual int compare_to_impl(
const GeomMunger *other)
const;
46 virtual int geom_compare_to_impl(
const GeomMunger *other)
const;
58 bool _reffed_filtered_texture;
66 static void init_type() {
67 StandardMunger::init_type();
68 register_type(_type_handle,
"DXGeomMunger9",
69 StandardMunger::get_class_type());
72 return get_class_type();
74 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
80 #include "dxGeomMunger9.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.
Indicates the set of TextureStages and their associated Textures that should be applied to (or remove...
Derive from this class and override the callback() method if you want to get an immediate callback fr...
This specialization on GeomMunger finesses vertices for DirectX 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.
Computes texture coordinates for geometry automatically based on vertex position and/or normal...