|
@@ -38,11 +38,13 @@
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
class EXPCL_PANDA StandardMunger : public StateMunger {
|
|
class EXPCL_PANDA StandardMunger : public StateMunger {
|
|
|
public:
|
|
public:
|
|
|
- StandardMunger(const GraphicsStateGuardianBase *gsg, const RenderState *state,
|
|
|
|
|
|
|
+ StandardMunger(GraphicsStateGuardianBase *gsg, const RenderState *state,
|
|
|
int num_components, NumericType numeric_type,
|
|
int num_components, NumericType numeric_type,
|
|
|
Contents contents);
|
|
Contents contents);
|
|
|
virtual ~StandardMunger();
|
|
virtual ~StandardMunger();
|
|
|
|
|
|
|
|
|
|
+ INLINE GraphicsStateGuardian *get_gsg() const;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
virtual CPT(qpGeomVertexData) munge_data_impl(const qpGeomVertexData *data);
|
|
virtual CPT(qpGeomVertexData) munge_data_impl(const qpGeomVertexData *data);
|
|
|
virtual int compare_to_impl(const qpGeomMunger *other) const;
|
|
virtual int compare_to_impl(const qpGeomMunger *other) const;
|
|
@@ -54,7 +56,7 @@ private:
|
|
|
int _num_components;
|
|
int _num_components;
|
|
|
NumericType _numeric_type;
|
|
NumericType _numeric_type;
|
|
|
Contents _contents;
|
|
Contents _contents;
|
|
|
- CPT(GraphicsStateGuardian) _gsg;
|
|
|
|
|
|
|
+ PT(GraphicsStateGuardian) _gsg;
|
|
|
CPT(RenderModeAttrib) _render_mode;
|
|
CPT(RenderModeAttrib) _render_mode;
|
|
|
|
|
|
|
|
bool _munge_color;
|
|
bool _munge_color;
|