Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DepthTestAttrib Class Reference

#include <depthTestAttrib.h>

Inheritance diagram for DepthTestAttrib:

RenderAttrib TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject List of all members.

Public Member Functions

virtual void issue (GraphicsStateGuardianBase *gsg) const
virtual void output (ostream &out) const
virtual void write_datagram (BamWriter *manager, Datagram &dg)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory ()
TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual int compare_to_impl (const RenderAttrib *other) const
virtual RenderAttribmake_default_impl () const
void fillin (DatagramIterator &scan, BamReader *manager)

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Private Member Functions

INLINE DepthTestAttrib (PandaCompareFunc mode=M_less)
INLINE PandaCompareFunc get_mode () const

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(PandaCompareFunc mode)
PandaCompareFunc _mode

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE DepthTestAttrib::DepthTestAttrib PandaCompareFunc  mode = M_less  )  [private]
 


Member Function Documentation

int DepthTestAttrib::compare_to_impl const RenderAttrib other  )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 81 of file depthTestAttrib.cxx.

References _mode, and DCAST_INTO_R.

void DepthTestAttrib::fillin DatagramIterator scan,
BamReader manager
[protected]
 

Reimplemented from RenderAttrib.

Definition at line 155 of file depthTestAttrib.cxx.

References _mode, RenderAttrib::fillin(), and DatagramIterator::get_int8().

Referenced by make_from_bam().

virtual TypeHandle DepthTestAttrib::force_init_type void   )  [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 70 of file depthTestAttrib.h.

References RenderAttrib::get_class_type(), and RenderAttrib::init_type().

TypeHandle DepthTestAttrib::get_class_type void   )  [inline, static]
 

Reimplemented from RenderAttrib.

Definition at line 59 of file depthTestAttrib.h.

Referenced by NodePath::clear_depth_test(), NodePath::get_depth_test(), NodePath::has_depth_test(), and register_with_read_factory().

INLINE PandaCompareFunc DepthTestAttrib::get_mode  )  const [private]
 

Referenced by NodePath::get_depth_test(), GLGraphicsStateGuardian::issue_depth_test(), DXGraphicsStateGuardian8::issue_depth_test(), CRGraphicsStateGuardian::issue_depth_test(), and DXGraphicsStateGuardian7::prepare_texture().

virtual TypeHandle DepthTestAttrib::get_type void   )  const [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 67 of file depthTestAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

void DepthTestAttrib::init_type void   )  [inline, static]
 

Reimplemented from RenderAttrib.

Definition at line 62 of file depthTestAttrib.h.

References RenderAttrib::get_class_type(), RenderAttrib::init_type(), and register_type().

Referenced by init_libpgraph().

void DepthTestAttrib::issue GraphicsStateGuardianBase gsg  )  const [virtual]
 

Reimplemented from RenderAttrib.

Definition at line 50 of file depthTestAttrib.cxx.

References GraphicsStateGuardianBase::issue_depth_test().

RenderAttrib * DepthTestAttrib::make_default_impl  )  const [protected, virtual]
 

Implements RenderAttrib.

Definition at line 99 of file depthTestAttrib.cxx.

TypedWritable * DepthTestAttrib::make_from_bam const FactoryParams params  )  [static, protected]
 

Definition at line 136 of file depthTestAttrib.cxx.

References fillin(), params, and parse_params().

Referenced by register_with_read_factory().

void DepthTestAttrib::output ostream &  out  )  const [virtual]
 

Definition at line 60 of file depthTestAttrib.cxx.

References _mode, get_type(), and RenderAttrib::output_comparefunc().

void DepthTestAttrib::register_with_read_factory  )  [static]
 

Definition at line 110 of file depthTestAttrib.cxx.

References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory().

Referenced by init_libpgraph().

void DepthTestAttrib::write_datagram BamWriter manager,
Datagram dg
[virtual]
 

Reimplemented from RenderAttrib.

Definition at line 121 of file depthTestAttrib.cxx.

References _mode, Datagram::add_int8(), and RenderAttrib::write_datagram().


Member Data Documentation

PUBLISHED DepthTestAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 35 of file depthTestAttrib.h.

PandaCompareFunc DepthTestAttrib::_mode [private]
 

Definition at line 48 of file depthTestAttrib.h.

Referenced by compare_to_impl(), fillin(), output(), and write_datagram().

TypeHandle DepthTestAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 27 of file depthTestAttrib.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:52 2003 for Panda by doxygen1.3