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

TextureAttrib Class Reference

#include <textureAttrib.h>

Inheritance diagram for TextureAttrib:

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 int complete_pointers (TypedWritable **plist, BamReader *manager)
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 TextureAttrib ()
INLINE bool is_off () const
INLINE Textureget_texture () const
 PT (Texture) _texture

Static Private Member Functions

 CPT (RenderAttrib) make_off()

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(Texture *tex)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE TextureAttrib::TextureAttrib  )  [private]
 


Member Function Documentation

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

Reimplemented from RenderAttrib.

Definition at line 98 of file textureAttrib.cxx.

References DCAST_INTO_R.

int TextureAttrib::complete_pointers TypedWritable **  plist,
BamReader manager
[virtual]
 

Reimplemented from TypedWritable.

Definition at line 159 of file textureAttrib.cxx.

References TypedWritable::complete_pointers(), DCAST, NULL, and texture.

TextureAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

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

Reimplemented from RenderAttrib.

Definition at line 198 of file textureAttrib.cxx.

References RenderAttrib::fillin(), and BamReader::read_pointer().

Referenced by make_from_bam().

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

Reimplemented from RenderAttrib.

Definition at line 76 of file textureAttrib.h.

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

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

Reimplemented from RenderAttrib.

Definition at line 65 of file textureAttrib.h.

Referenced by NodePath::clear_texture(), SceneGraphAnalyzer::collect_statistics(), NodePath::get_texture(), NodePath::has_texture(), NodePath::r_find_all_textures(), NodePath::r_find_texture(), NodePath::r_prepare_scene(), and register_with_read_factory().

INLINE Texture* TextureAttrib::get_texture  )  const [private]
 

Referenced by SceneGraphAnalyzer::collect_statistics(), NodePath::get_texture(), GLGraphicsStateGuardian::issue_texture(), DXGraphicsStateGuardian8::issue_texture(), CRGraphicsStateGuardian::issue_texture(), DXGraphicsStateGuardian7::prepare_texture(), NodePath::r_find_all_textures(), NodePath::r_find_texture(), NodePath::r_prepare_scene(), and EggLoader::setup_bucket().

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

Reimplemented from RenderAttrib.

Definition at line 73 of file textureAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

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

Reimplemented from RenderAttrib.

Definition at line 68 of file textureAttrib.h.

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

Referenced by init_libpgraph().

INLINE bool TextureAttrib::is_off  )  const [private]
 

Referenced by SceneGraphAnalyzer::collect_statistics(), NodePath::has_texture(), NodePath::has_texture_off(), GLGraphicsStateGuardian::issue_texture(), DXGraphicsStateGuardian8::issue_texture(), CRGraphicsStateGuardian::issue_texture(), output(), and DXGraphicsStateGuardian7::prepare_texture().

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

Reimplemented from RenderAttrib.

Definition at line 63 of file textureAttrib.cxx.

References GraphicsStateGuardianBase::issue_texture().

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

Implements RenderAttrib.

Definition at line 123 of file textureAttrib.cxx.

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

Definition at line 179 of file textureAttrib.cxx.

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

Referenced by register_with_read_factory().

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

Definition at line 73 of file textureAttrib.cxx.

References TypeHandle::get_name(), get_type(), and is_off().

TextureAttrib::PT Texture   )  [private]
 

void TextureAttrib::register_with_read_factory  )  [static]
 

Definition at line 134 of file textureAttrib.cxx.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 145 of file textureAttrib.cxx.

References RenderAttrib::write_datagram(), and BamWriter::write_pointer().


Member Data Documentation

PUBLISHED TextureAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 38 of file textureAttrib.h.

TypeHandle TextureAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 26 of file textureAttrib.cxx.


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