26class EXPCL_PANDA_PGRAPH RescaleNormalAttrib :
public RenderAttrib {
45 INLINE RescaleNormalAttrib(Mode mode);
48 static CPT(RenderAttrib)
make(Mode mode);
49 INLINE
static CPT(RenderAttrib) make_default();
55 virtual void output(std::ostream &out)
const;
58 virtual int compare_to_impl(
const RenderAttrib *other)
const;
59 virtual size_t get_hash_impl()
const;
66 static CPT(RenderAttrib) _attribs[M_auto + 1];
69 static int get_class_slot() {
72 virtual int get_slot()
const {
73 return get_class_slot();
75 MAKE_PROPERTY(class_slot, get_class_slot);
78 static void register_with_read_factory();
82 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
83 void fillin(DatagramIterator &scan, BamReader *manager);
86 static TypeHandle get_class_type() {
89 static void init_type();
90 virtual TypeHandle get_type()
const {
91 return get_class_type();
93 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
96 static TypeHandle _type_handle;
97 static int _attrib_slot;