Panda3D
|
Starts the cull process for a particular DisplayRegion. More...
#include "cfCommand.h"
Public Member Functions | |
CFDoCullCommand (PandaNode *scene) | |
virtual int | complete_pointers (TypedWritable **plist, BamReader *manager) |
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin(). | |
virtual TypeHandle | force_init_type () |
PandaNode * | get_scene () const |
virtual TypeHandle | get_type () const |
virtual void | update_bam_nested (BamWriter *manager) |
Called by the BamWriter when this object has not itself been modified recently, but it should check its nested objects for updates. | |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
Writes the contents of this object to the datagram for shipping out to a Bam file. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
static void | register_with_read_factory () |
Tells the BamReader how to create objects of type CFDoCullCommand. | |
Protected Member Functions | |
void | fillin (DatagramIterator &scan, BamReader *manager) |
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new CFDoCullCommand. | |
Static Protected Member Functions | |
static TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
This function is called by the BamReader's factory when a new object of type CFDoCullCommand is encountered in the Bam file. |
Starts the cull process for a particular DisplayRegion.
Definition at line 62 of file cfCommand.h.
int CFDoCullCommand::complete_pointers | ( | TypedWritable ** | p_list, |
BamReader * | manager | ||
) | [virtual] |
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().
Returns the number of pointers processed.
Reimplemented from TypedWritable.
Definition at line 72 of file cfCommand.cxx.
void CFDoCullCommand::fillin | ( | DatagramIterator & | scan, |
BamReader * | manager | ||
) | [protected, virtual] |
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new CFDoCullCommand.
Reimplemented from TypedWritable.
Definition at line 110 of file cfCommand.cxx.
References BamReader::read_pointer().
Referenced by make_from_bam().
TypedWritable * CFDoCullCommand::make_from_bam | ( | const FactoryParams & | params | ) | [static, protected] |
This function is called by the BamReader's factory when a new object of type CFDoCullCommand is encountered in the Bam file.
It should create the CFDoCullCommand and extract its information from the file.
Definition at line 91 of file cfCommand.cxx.
References fillin().
Referenced by register_with_read_factory().
void CFDoCullCommand::register_with_read_factory | ( | ) | [static] |
Tells the BamReader how to create objects of type CFDoCullCommand.
Definition at line 36 of file cfCommand.cxx.
References BamReader::get_factory(), make_from_bam(), and Factory< Type >::register_factory().
void CFDoCullCommand::update_bam_nested | ( | BamWriter * | manager | ) | [virtual] |
Called by the BamWriter when this object has not itself been modified recently, but it should check its nested objects for updates.
Reimplemented from TypedWritable.
Definition at line 60 of file cfCommand.cxx.
References BamWriter::consider_update().
void CFDoCullCommand::write_datagram | ( | BamWriter * | manager, |
Datagram & | dg | ||
) | [virtual] |
Writes the contents of this object to the datagram for shipping out to a Bam file.
Reimplemented from TypedWritable.
Definition at line 47 of file cfCommand.cxx.
References BamWriter::write_pointer().