#include <spheretexReflector.h>
Inheritance diagram for SpheretexReflector:
Public Member Functions | |
SpheretexReflector (int size=256) | |
~SpheretexReflector (void) | |
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) const |
INLINE bool | is_reflector (void) const |
INLINE void | make_reflector (void) |
INLINE void | make_refractor (void) |
INLINE void | set_near (float fnear) |
INLINE float | get_near (void) const |
INLINE void | set_far (float ffar) |
INLINE float | get_far (void) const |
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 Attributes | |
SpheretexShader | _spheretex_shader |
int | _size |
bool | _is_reflector |
float | _fnear |
float | _ffar |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 46 of file spheretexReflector.cxx. References _ffar, _fnear, _is_reflector, _size, _spheretex_shader, Texture::FT_linear, SpheretexShader::set_blend_mode(), set_size(), SpheretexShader::set_texture(), texture, and Texture::WM_clamp. |
|
Definition at line 71 of file spheretexReflector.cxx. |
|
Reimplemented from Shader. Definition at line 226 of file spheretexReflector.cxx. References _spheretex_shader, SpheretexShader::apply(), and Shader::apply(). |
|
Reimplemented from CasterShader. Definition at line 92 of file spheretexReflector.h. References CasterShader::get_class_type(), and CasterShader::init_type(). |
|
Reimplemented from CasterShader. Definition at line 81 of file spheretexReflector.h. Referenced by ConfigureFn(). |
|
Definition at line 63 of file spheretexReflector.h. |
|
Definition at line 61 of file spheretexReflector.h. |
|
Definition at line 54 of file spheretexReflector.h. |
|
Reimplemented from CasterShader. Definition at line 89 of file spheretexReflector.h. References CasterShader::get_class_type(). |
|
Reimplemented from CasterShader. Definition at line 84 of file spheretexReflector.h. References CasterShader::get_class_type(), CasterShader::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
Definition at line 56 of file spheretexReflector.h. |
|
Definition at line 57 of file spheretexReflector.h. |
|
Definition at line 58 of file spheretexReflector.h. |
|
|
Definition at line 62 of file spheretexReflector.h. |
|
Reimplemented from Shader. Definition at line 92 of file spheretexReflector.cxx. References _spheretex_shader, and Shader::set_multipass(). |
|
Definition at line 60 of file spheretexReflector.h. |
|
Reimplemented from Shader. Definition at line 80 of file spheretexReflector.cxx. References _spheretex_shader, and Shader::set_priority(). |
|
Definition at line 53 of file spheretexReflector.h. Referenced by SpheretexReflector(). |
|
Definition at line 77 of file spheretexReflector.h. Referenced by pre_apply(), and SpheretexReflector(). |
|
Definition at line 76 of file spheretexReflector.h. Referenced by pre_apply(), and SpheretexReflector(). |
|
Definition at line 75 of file spheretexReflector.h. Referenced by pre_apply(), and SpheretexReflector(). |
|
Definition at line 74 of file spheretexReflector.h. Referenced by pre_apply(), and SpheretexReflector(). |
|
Definition at line 73 of file spheretexReflector.h. Referenced by apply(), pre_apply(), set_multipass(), set_priority(), and SpheretexReflector(). |
|
Reimplemented from CasterShader. Definition at line 39 of file spheretexReflector.cxx. |