14 #ifndef RENDEREFFECT_H 15 #define RENDEREFFECT_H 58 virtual bool safe_to_transform()
const;
60 virtual bool safe_to_combine()
const;
61 virtual CPT(
RenderEffect) xform(
const LMatrix4 &mat)
const;
63 virtual bool has_cull_callback()
const;
68 virtual bool has_adjust_transform()
const;
76 virtual void output(std::ostream &out)
const;
77 virtual void write(std::ostream &out,
int indent_level)
const;
79 static int get_num_effects();
80 static void list_effects(std::ostream &out);
81 static bool validate_effects();
86 virtual int compare_to_impl(
const RenderEffect *other)
const;
92 Effects::iterator _saved_entry;
107 static void init_type() {
108 TypedWritableReferenceCount::init_type();
110 TypedWritableReferenceCount::get_class_type());
113 return get_class_type();
115 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
121 INLINE std::ostream &operator << (std::ostream &out,
const RenderEffect &effect) {
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void finalize(BamReader *manager)
Called by the BamReader to perform any final actions needed for setting up the object after all objec...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is the base class for a number of special render effects that may be set on scene graph nodes to...
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
An STL function object class, this is intended to be used on any ordered collection of class objects ...
This is our own Panda specialization on the default STL set.
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 ...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...