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

#include <Shader.h>

Public Member Functions

 ShaderInstance ()
 ~ShaderInstance ()
ShaderInstanceoperator= (const ShaderInstance &si)
void SetMaterialParams (MaterialParams *pVal)
 Sets the material params for rendering.

Public Attributes

Shaderm_pVertexShader
Shaderm_pPixelShader
kge::core::Functor1< void,
ShaderInstance * > * 
m_pFun
void * m_pUserData
MaterialParams m_MaterialParams
bool m_bMatParamsChanged
sn::SceneNodem_pOwner

Protected Attributes

MaterialParamsm_pMatParams

Detailed Description

Definition at line 138 of file Shader.h.

Constructor & Destructor Documentation

kge::gfx::ShaderInstance::ShaderInstance ( )
inline

Definition at line 142 of file Shader.h.

kge::gfx::ShaderInstance::~ShaderInstance ( )
inline

Definition at line 146 of file Shader.h.

Member Function Documentation

ShaderInstance& kge::gfx::ShaderInstance::operator= ( const ShaderInstance si)
inline
void kge::gfx::ShaderInstance::SetMaterialParams ( MaterialParams pVal)
inline

Member Data Documentation

bool kge::gfx::ShaderInstance::m_bMatParamsChanged

Definition at line 157 of file Shader.h.

Referenced by operator=(), and SetMaterialParams().

MaterialParams kge::gfx::ShaderInstance::m_MaterialParams

Definition at line 156 of file Shader.h.

Referenced by operator=().

kge::core::Functor1<void, ShaderInstance*>* kge::gfx::ShaderInstance::m_pFun

Definition at line 153 of file Shader.h.

Referenced by operator=(), and SetMaterialParams().

MaterialParams* kge::gfx::ShaderInstance::m_pMatParams
protected

Definition at line 187 of file Shader.h.

Referenced by operator=(), and SetMaterialParams().

sn::SceneNode* kge::gfx::ShaderInstance::m_pOwner

Definition at line 159 of file Shader.h.

Referenced by operator=().

Shader * kge::gfx::ShaderInstance::m_pPixelShader

Definition at line 148 of file Shader.h.

Referenced by operator=(), and SetMaterialParams().

void* kge::gfx::ShaderInstance::m_pUserData

Definition at line 155 of file Shader.h.

Referenced by operator=().

Shader* kge::gfx::ShaderInstance::m_pVertexShader

Definition at line 148 of file Shader.h.

Referenced by operator=(), and SetMaterialParams().


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