Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::efx::Refraction Class Reference

#include <Refraction.h>

Inheritance diagram for kge::efx::Refraction:
kge::efx::Effect

Public Member Functions

 Refraction ()
 Constructor.
 ~Refraction ()
 Destructor.
void AddNodes (sn::SceneNode *pNodes)
 Add nodes of mesh that effect influencing on it.
void PreRender (float elapsedTime)
 The works must to do before rendering the object.
void Render ()
 The works must to do after rendering the object.
void PostRenderEverything ()
 The works must to do after rendering all of the scene nodes.
void SetTexScale (float x, float y)
 Sets the texcoord scale.
- Public Member Functions inherited from kge::efx::Effect
 Effect ()
 Constructor.
virtual ~Effect ()
 Destructor.
virtual void OnReset ()
 For internal use.

Protected Member Functions

void SetShaderConstant (gfx::ShaderInstance *pSI)

Protected Attributes

gfx::Shaderm_pVertexShader
gfx::Shaderm_pPixelShader
gfx::ShaderHandle sh_fvEyePosition
gfx::ShaderHandle sh_matView
gfx::ShaderHandle sh_matViewProjection
gfx::ShaderHandle sh_fTime0_X
gfx::ShaderHandle sh_f2TexScale
math::Matrixm_pMatViewProj
math::Matrixm_pMatView
float m_fTime
math::Vector2F m_v2TexScale
- Protected Attributes inherited from kge::efx::Effect
std::vector< sn::SceneNode * > m_arrNodes

Detailed Description

Definition at line 20 of file Refraction.h.

Constructor & Destructor Documentation

kge::efx::Refraction::Refraction ( )

Constructor.

kge::efx::Refraction::~Refraction ( )

Destructor.

Member Function Documentation

void kge::efx::Refraction::AddNodes ( sn::SceneNode pNodes)
virtual

Add nodes of mesh that effect influencing on it.

Reimplemented from kge::efx::Effect.

void kge::efx::Refraction::PostRenderEverything ( )
virtual

The works must to do after rendering all of the scene nodes.

Implements kge::efx::Effect.

void kge::efx::Refraction::PreRender ( float  elapsedTime)
virtual

The works must to do before rendering the object.

Implements kge::efx::Effect.

void kge::efx::Refraction::Render ( )
virtual

The works must to do after rendering the object.

Implements kge::efx::Effect.

void kge::efx::Refraction::SetShaderConstant ( gfx::ShaderInstance pSI)
protected
void kge::efx::Refraction::SetTexScale ( float  x,
float  y 
)

Sets the texcoord scale.

Member Data Documentation

float kge::efx::Refraction::m_fTime
protected

Definition at line 59 of file Refraction.h.

math::Matrix * kge::efx::Refraction::m_pMatView
protected

Definition at line 56 of file Refraction.h.

math::Matrix* kge::efx::Refraction::m_pMatViewProj
protected

Definition at line 56 of file Refraction.h.

gfx::Shader * kge::efx::Refraction::m_pPixelShader
protected

Definition at line 47 of file Refraction.h.

gfx::Shader* kge::efx::Refraction::m_pVertexShader
protected

Definition at line 47 of file Refraction.h.

math::Vector2F kge::efx::Refraction::m_v2TexScale
protected

Definition at line 61 of file Refraction.h.

gfx::ShaderHandle kge::efx::Refraction::sh_f2TexScale
protected

Definition at line 50 of file Refraction.h.

gfx::ShaderHandle kge::efx::Refraction::sh_fTime0_X
protected

Definition at line 50 of file Refraction.h.

gfx::ShaderHandle kge::efx::Refraction::sh_fvEyePosition
protected

Definition at line 50 of file Refraction.h.

gfx::ShaderHandle kge::efx::Refraction::sh_matView
protected

Definition at line 50 of file Refraction.h.

gfx::ShaderHandle kge::efx::Refraction::sh_matViewProjection
protected

Definition at line 50 of file Refraction.h.


The documentation for this class was generated from the following file: