14 #ifndef RESCALENORMALATTRIB_H 15 #define RESCALENORMALATTRIB_H 51 INLINE Mode get_mode()
const;
52 MAKE_PROPERTY(mode, get_mode);
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;
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();
89 static void init_type();
91 return get_class_type();
93 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
97 static int _attrib_slot;
100 EXPCL_PANDA_PGRAPH std::ostream &operator << (std::ostream &out, RescaleNormalAttrib::Mode mode);
101 EXPCL_PANDA_PGRAPH std::istream &operator >> (std::istream &in, RescaleNormalAttrib::Mode &mode);
This is the base class for a number of render attributes (other than transform) that may be set on sc...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
Specifies how polygons are to be drawn.
A class to retrieve the individual data elements previously stored in a Datagram.
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...