|
const RenderEffect | addOnOccluder (const NodePath occluder) |
| Returns a new OccluderEffect, just like this one, but with the indicated occluder added to the list of occluders enabled by this effect.
|
|
int | getNumOnOccluders () |
| Returns the number of occluders that are enabled by the effectute.
|
|
NodePath | getOnOccluder (int n) |
| Returns the nth occluder enabled by the effectute, sorted in render order.
|
|
list | getOnOccluders () |
|
bool | hasOnOccluder (const NodePath occluder) |
| Returns true if the indicated occluder is enabled by the effect, false otherwise.
|
|
bool | isIdentity () |
| Returns true if this is an identity effect: it does not change the set of occluders in use.
|
|
const RenderEffect | removeOnOccluder (const NodePath occluder) |
| Returns a new OccluderEffect, just like this one, but with the indicated occluder removed from the list of occluders enabled by this effect.
|
|
Public Member Functions inherited from RenderEffect |
int | compareTo (const RenderEffect other) |
| Provides an arbitrary ordering among all unique RenderEffects, so we can store the essentially different ones in a big set and throw away the rest.
|
|
| output (Ostream out) |
|
| write (Ostream out, int indent_level) |
|
Public Member Functions inherited from TypedWritable |
object | __reduce__ () |
|
object | __reduce_persist__ (object pickler) |
|
VectorUchar | encodeToBamStream () |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and returns that data as a bytes object.
|
|
bool | encodeToBamStream (VectorUchar data, BamWriter writer) |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and stores that data in the indicated string.
|
|
| 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 of the relevant data from the BamFile for the new object.
|
|
UpdateSeq | getBamModified () |
| Returns the current bam_modified counter.
|
|
| markBamModified () |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams.
|
|
Public Member Functions inherited from TypedObject |
TypeHandle | getType () |
|
int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
|
bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly.
|
|
bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type.
|
|
Public Member Functions inherited from ReferenceCount |
int | getRefCount () |
| Returns the current reference count.
|
|
| ref () |
| Explicitly increments the reference count.
|
|
bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
|
bool | unref () |
| Explicitly decrements the reference count.
|
|
This functions similarly to a LightAttrib or ClipPlaneAttrib.
It indicates the set of occluders that modify the geometry at this level and below. Unlike a ClipPlaneAttrib, an OccluderEffect takes effect immediately when it is encountered during traversal, and thus can only add occluders; it may not remove them.