15 #ifndef TEXPROJECTOREFFECT_H
16 #define TEXPROJECTOREFFECT_H
18 #include "pandabase.h"
20 #include "renderEffect.h"
62 INLINE TexProjectorEffect(
const TexProjectorEffect ©);
65 virtual ~TexProjectorEffect();
73 bool is_empty()
const;
81 virtual void output(ostream &out)
const;
83 virtual bool has_cull_callback()
const;
85 CPT(TransformState) &node_transform,
89 virtual int compare_to_impl(
const RenderEffect *other)
const;
95 INLINE
void set_from(
const NodePath &from);
97 INLINE
void set_lens_index(
int lens_index);
99 INLINE
int compare_to(
const StageDef &other)
const;
113 static void register_with_read_factory();
125 static void init_type() {
126 RenderEffect::init_type();
127 register_type(_type_handle,
"TexProjectorEffect",
128 RenderEffect::get_class_type());
131 return get_class_type();
133 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
139 #include "texProjectorEffect.I"
virtual void cull_callback(CullTraverser *trav, CullTraverserData &data, CPT(TransformState)&node_transform, CPT(RenderState)&node_state) const
If has_cull_callback() returns true, this function will be called during the cull traversal to perfor...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A node that contains a Lens.
Base class for objects that can be written to and read from Bam files.
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...
This is our own Panda specialization on the default STL list.
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()...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
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 ...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This effect automatically applies a computed texture matrix to the specified texture stage...
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
Defines the properties of a named stage of the multitexture pipeline.
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...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling...