#include <BasicNodes.h>
Public Member Functions | |
ShaderNode (const string &sName) | |
CLASS_RTTI (ShaderNode, NodeObject) | |
virtual void | Render () |
Render object. | |
virtual void | Update (const float fDtime) |
Update object. | |
bool | SetShader (const string &sShaderName) |
void | SetUniformIs (vector< string > &vsnNames) |
void | SetUniformFs (vector< string > &vsnNames, vector< float > &ivsnFs) |
Static Public Member Functions | |
static void | SetGlobalCheckTime (float fTime) |
Public Attributes | |
Shader | S |
Private Attributes | |
float | m_fTimeSinceLastCheck |
vector< string > | vsnIs |
vector< string > | vsnFs |
vector< float > | vfnFs |
string | m_sShaderName |
Static Private Attributes | |
static float | m_fTimePerCheck = 1.0f |
Definition at line 7 of file BasicNodes.h.
ShaderNode::ShaderNode | ( | const string & | sName | ) | [inline] |
Definition at line 10 of file BasicNodes.h.
ShaderNode::CLASS_RTTI | ( | ShaderNode | , | |
NodeObject | ||||
) |
void ShaderNode::Render | ( | ) | [virtual] |
void ShaderNode::Update | ( | const float | fDtime | ) | [virtual] |
bool ShaderNode::SetShader | ( | const string & | sShaderName | ) | [inline] |
Definition at line 16 of file BasicNodes.h.
void ShaderNode::SetUniformIs | ( | vector< string > & | vsnNames | ) | [inline] |
Definition at line 17 of file BasicNodes.h.
void ShaderNode::SetUniformFs | ( | vector< string > & | vsnNames, | |
vector< float > & | ivsnFs | |||
) | [inline] |
Definition at line 18 of file BasicNodes.h.
static void ShaderNode::SetGlobalCheckTime | ( | float | fTime | ) | [inline, static] |
Definition at line 20 of file BasicNodes.h.
Definition at line 22 of file BasicNodes.h.
float ShaderNode::m_fTimeSinceLastCheck [private] |
Definition at line 24 of file BasicNodes.h.
float ShaderNode::m_fTimePerCheck = 1.0f [static, private] |
Definition at line 25 of file BasicNodes.h.
vector< string > ShaderNode::vsnIs [private] |
Definition at line 26 of file BasicNodes.h.
vector< string > ShaderNode::vsnFs [private] |
Definition at line 27 of file BasicNodes.h.
vector< float > ShaderNode::vfnFs [private] |
Definition at line 28 of file BasicNodes.h.
string ShaderNode::m_sShaderName [private] |
Definition at line 29 of file BasicNodes.h.