14 #ifndef OCCLUDEREFFECT_H 15 #define OCCLUDEREFFECT_H 40 INLINE
int get_num_on_occluders()
const;
41 INLINE
NodePath get_on_occluder(
int n)
const;
42 MAKE_SEQ(get_on_occluders, get_num_on_occluders, get_on_occluder);
43 INLINE
bool has_on_occluder(
const NodePath &occluder)
const;
45 INLINE
bool is_identity()
const;
51 virtual void output(std::ostream &out)
const;
54 virtual int compare_to_impl(
const RenderEffect *other)
const;
57 void sort_on_occluders();
68 static void register_with_read_factory();
81 static void init_type() {
82 RenderEffect::init_type();
84 RenderEffect::get_class_type());
87 return get_class_type();
89 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
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 ...
This is the base class for a number of special render effects that may be set on scene graph nodes to...
This is our own Panda specialization on the default STL list.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().
This functions similarly to a LightAttrib or ClipPlaneAttrib.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool require_fully_complete() const
Some objects require all of their nested pointers to have been completed before the objects themselve...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
A class to retrieve the individual data elements previously stored in a Datagram.
TypeHandle is the identifier used to differentiate C++ class types.
This is a sequence number that increments monotonically.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...