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

ProjtexShadower Class Reference

#include <projtexShadower.h>

Inheritance diagram for ProjtexShadower:

CasterShader FrustumShader Shader ReferenceCount Configurable TypedObject List of all members.

Public Member Functions

 ProjtexShadower (int size=256)
virtual void pre_apply (Node *node, const AllAttributesWrapper &init_state, const AllTransitionsWrapper &net_trans, GraphicsStateGuardian *gsg)
virtual void apply (Node *node, const AllAttributesWrapper &init_state, const AllTransitionsWrapper &net_trans, GraphicsStateGuardian *gsg)
INLINE void set_size (int size)
INLINE int get_size (void)
virtual void set_priority (int priority)
virtual void set_multipass (bool on)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

 PT (ProjtexShader) _projtex_shader

Protected Attributes

int _size

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

ProjtexShadower::ProjtexShadower int  size = 256  ) 
 

Definition at line 48 of file projtexShadower.cxx.

References _size, Texture::FT_linear, set_size(), texture, and Texture::WM_clamp.


Member Function Documentation

void ProjtexShadower::apply Node *  node,
const AllAttributesWrapper &  init_state,
const AllTransitionsWrapper &  net_trans,
GraphicsStateGuardian gsg
[virtual]
 

Reimplemented from Shader.

Definition at line 238 of file projtexShadower.cxx.

References Shader::apply().

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

Reimplemented from CasterShader.

Definition at line 82 of file projtexShadower.h.

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

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

Reimplemented from CasterShader.

Definition at line 71 of file projtexShadower.h.

Referenced by ConfigureFn().

INLINE int ProjtexShadower::get_size void   )  [inline]
 

Definition at line 56 of file projtexShadower.h.

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

Reimplemented from CasterShader.

Definition at line 79 of file projtexShadower.h.

References CasterShader::get_class_type().

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

Reimplemented from CasterShader.

Definition at line 74 of file projtexShadower.h.

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

Referenced by ConfigureFn().

void ProjtexShadower::pre_apply Node *  node,
const AllAttributesWrapper &  init_state,
const AllTransitionsWrapper &  net_trans,
GraphicsStateGuardian gsg
[virtual]
 

Reimplemented from Shader.

Definition at line 93 of file projtexShadower.cxx.

References CasterShader::_casters, FrustumShader::_frusta, _size, GraphicsStateGuardian::clear(), Colorf, Spotlight::get_class_type(), CasterShader::get_num_casters(), FrustumShader::get_num_frusta(), GraphicsStateGuardian::get_render_buffer(), NULL, GraphicsStateGuardian::pop_display_region(), GraphicsStateGuardian::pop_frame_buffer(), PT(), GraphicsStateGuardian::push_display_region(), GraphicsStateGuardian::push_frame_buffer(), GraphicsStateGuardian::set_color_clear_value(), t, RenderBuffer::T_back, and RenderBuffer::T_depth.

ProjtexShadower::PT ProjtexShader   )  [protected]
 

Referenced by pre_apply().

void ProjtexShadower::set_multipass bool  on  )  [virtual]
 

Reimplemented from Shader.

Definition at line 81 of file projtexShadower.cxx.

References Shader::set_multipass().

void ProjtexShadower::set_priority int  priority  )  [virtual]
 

Reimplemented from Shader.

Definition at line 69 of file projtexShadower.cxx.

References Shader::set_priority().

INLINE void ProjtexShadower::set_size int  size  )  [inline]
 

Definition at line 55 of file projtexShadower.h.

Referenced by ProjtexShadower().


Member Data Documentation

int ProjtexShadower::_size [protected]
 

Definition at line 67 of file projtexShadower.h.

Referenced by pre_apply(), and ProjtexShadower().

TypeHandle ProjtexShadower::_type_handle [static, private]
 

Reimplemented from CasterShader.

Definition at line 41 of file projtexShadower.cxx.


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