Panda3D

Functions
occluderEffect.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

`#include "occluderEffect.h"`
`#include "pandaNode.h"`
`#include "graphicsStateGuardianBase.h"`
`#include "bamReader.h"`
`#include "bamWriter.h"`
`#include "datagram.h"`
`#include "datagramIterator.h"`
`#include "config_pgraph.h"`
`#include "attribNodeRegistry.h"`

Go to the source code of this file.

## Functions
| CPT (RenderEffect) OccluderEffect
| Constructs a new OccluderEffect object that does nothing. More...

## Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
  drose

Date
  2011-03-17

Definition in file occluderEffect.cxx.

## Function Documentation

## ◆ CPT()

CPT | ( | RenderEffect |  | ) |

Constructs a new OccluderEffect object that does nothing.

Returns a new OccluderEffect, just like this one, but with the indicated occluder added to the list of occluders enabled by this effect.

Returns a new OccluderEffect, just like this one, but with the indicated occluder removed from the list of occluders enabled by this effect.

Intended to be overridden by derived OccluderEffect types to return a unique number indicating whether this OccluderEffect is equivalent to the other one.

This should return 0 if the two OccluderEffect objects are equivalent, a number less than zero if this one should be sorted before the other one, and a number greater than zero otherwise.

This will only be called with two OccluderEffect objects whose get_type() functions return the same.

Tells the BamReader how to create objects of type OccluderEffect.

Definition at line 30 of file occluderEffect.cxx.