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

DepthOffsetAttrib Class Reference

#include <depthOffsetAttrib.h>

Inheritance diagram for DepthOffsetAttrib:

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 CPT (RenderAttrib) compose_impl(const RenderAttrib *other) const
virtual CPT (RenderAttrib) invert_compose_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 DepthOffsetAttrib (int offset)
INLINE int get_offset () const

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(int offset = 1)
int _offset

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE DepthOffsetAttrib::DepthOffsetAttrib int  offset  )  [private]
 

Referenced by make_default_impl(), and make_from_bam().


Member Function Documentation

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

Reimplemented from RenderAttrib.

Definition at line 82 of file depthOffsetAttrib.cxx.

References _offset, and DCAST_INTO_R.

virtual DepthOffsetAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

virtual DepthOffsetAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

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

Reimplemented from RenderAttrib.

Definition at line 202 of file depthOffsetAttrib.cxx.

References _offset, RenderAttrib::fillin(), and DatagramIterator::get_int32().

Referenced by make_from_bam().

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

Reimplemented from RenderAttrib.

Definition at line 97 of file depthOffsetAttrib.h.

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

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

Reimplemented from RenderAttrib.

Definition at line 86 of file depthOffsetAttrib.h.

Referenced by register_with_read_factory().

INLINE int DepthOffsetAttrib::get_offset  )  const [private]
 

Referenced by GLGraphicsStateGuardian::issue_depth_offset(), DXGraphicsStateGuardian8::issue_depth_offset(), CRGraphicsStateGuardian::issue_depth_offset(), output(), and DXGraphicsStateGuardian7::prepare_texture().

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

Reimplemented from RenderAttrib.

Definition at line 94 of file depthOffsetAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

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

Reimplemented from RenderAttrib.

Definition at line 89 of file depthOffsetAttrib.h.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 52 of file depthOffsetAttrib.cxx.

References GraphicsStateGuardianBase::issue_depth_offset().

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

Implements RenderAttrib.

Definition at line 146 of file depthOffsetAttrib.cxx.

References DepthOffsetAttrib().

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

Definition at line 183 of file depthOffsetAttrib.cxx.

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

Referenced by register_with_read_factory().

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

Definition at line 62 of file depthOffsetAttrib.cxx.

References get_offset(), and get_type().

void DepthOffsetAttrib::register_with_read_factory  )  [static]
 

Definition at line 157 of file depthOffsetAttrib.cxx.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 168 of file depthOffsetAttrib.cxx.

References _offset, Datagram::add_int32(), and RenderAttrib::write_datagram().


Member Data Documentation

PUBLISHED DepthOffsetAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 60 of file depthOffsetAttrib.h.

int DepthOffsetAttrib::_offset [private]
 

Definition at line 75 of file depthOffsetAttrib.h.

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

TypeHandle DepthOffsetAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 27 of file depthOffsetAttrib.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