struct SShaderItem { IShader * m_pShader; IRenderShaderResources * m_pShaderResources; int32 m_nTechnique; uint32 m_nPreprocessFlags; };
IShader.h
uint32 m_nPreprocessFlags;
int32 m_nTechnique;
IShader * m_pShader;
IRenderShaderResources * m_pShaderResources;
void GetMemoryUsage(ICrySizer * pSizer) const;
inline struct SShaderTechnique * GetTechnique() const;
bool IsMergable(SShaderItem& PrevSI);
inline bool IsZWrite() const;
If you change this function please check bTransparent variable in CRenderMesh::Render().
CRenderMesh::Render()
uint32 PostLoad();
SShaderItem();
SShaderItem(IShader * pSH);
SShaderItem(IShader * pSH, IRenderShaderResources * pRS);
SShaderItem(IShader * pSH, IRenderShaderResources * pRS, int nTechnique);
bool Update();