SShaderParam

C++
struct SShaderParam {
  char m_Name[32];
  EParamType m_Type;
  UParamVal m_Value;
  string m_Script;
  uint8 m_eSemantic;
};
File

IShader.h

Notes

In order to facilitate the memory allocation tracking, we're using here this class; if you don't like it, please write a substitute for all string within the project and use them everywhere.

SShaderParam::m_eSemantic Data Member
C++
uint8 m_eSemantic;
SShaderParam::m_Name Data Member
C++
char m_Name[32];
SShaderParam::m_Script Data Member
C++
string m_Script;
SShaderParam::m_Type Data Member
C++
EParamType m_Type;
SShaderParam::m_Value Data Member
C++
UParamVal m_Value;
SShaderParam::~SShaderParam Destructor
C++
inline ~SShaderParam();
SShaderParam::= Operator
C++
inline SShaderParam& operator =(const SShaderParam& src);
SShaderParam::Construct Method
C++
inline void Construct();
SShaderParam::Destroy Method
C++
inline void Destroy();
SShaderParam::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer* pSizer) const;
SShaderParam::GetValue Method (char*, DynArrayRef *, float *, int)
C++
static bool GetValue(const char* szName, DynArrayRef<SShaderParam> * Params, float * v, int nID);
SShaderParam::GetValue Method (uint8, DynArrayRef *, float *, int)
C++
static bool GetValue(uint8 eSemantic, DynArrayRef<SShaderParam> * Params, float * v, int nID);
SShaderParam::SetParam Method
C++
static bool SetParam(const char* name, DynArrayRef<SShaderParam> * Params, UParamVal& pr);
SShaderParam::Size Method
C++
size_t Size();
SShaderParam::SShaderParam Constructor ()
C++
inline SShaderParam();
SShaderParam::SShaderParam Constructor (SShaderParam&)
C++
inline SShaderParam(const SShaderParam& src);