27class EXPCL_PANDA_PGRAPH DecalEffect :
public RenderEffect {
32 static CPT(RenderEffect)
make();
36 virtual int compare_to_impl(
const RenderEffect *other)
const;
43 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
50 static void init_type() {
51 RenderEffect::init_type();
53 RenderEffect::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
static void register_with_read_factory()
Tells the BamReader how to create objects of type DecalEffect.
static ConstPointerTo< RenderEffect > make()
Constructs a new DecalEffect object.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool safe_to_combine() const
Returns true if this kind of effect can safely be combined with sibling nodes that share the exact sa...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.