ShaderFeatureHLSL Class Reference

#include <shaderFeatureHLSL.h>

Inheritance diagram for ShaderFeatureHLSL:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ShaderFeatureHLSL ()
VargetVertBaseTex ()
 Get the incoming base texture coords - useful for bumpmap and detail maps.
LangElementsetupTexSpaceMat (Vector< ShaderComponent * > &componentList, Var **texSpaceMat)
 Set up a texture space matrix - to pass into pixel shader.
LangElementassignColor (LangElement *elem, bool add=false)
 Get the color assignment - helper function.
LangElementexpandNormalMap (LangElement *sampleNormalOp, LangElement *normalDecl, LangElement *normalVar, const GFXMaterialFeatureData &fd)
 Expand and assign a normal map.
virtual String getName ()
 Returns the name of this feature.

Constructor & Destructor Documentation

ShaderFeatureHLSL::ShaderFeatureHLSL (  ) 


Member Function Documentation

Var* ShaderFeatureHLSL::getVertBaseTex (  )  [virtual]

Get the incoming base texture coords - useful for bumpmap and detail maps.

Implements ShaderFeature.

LangElement* ShaderFeatureHLSL::setupTexSpaceMat ( Vector< ShaderComponent * > &  componentList,
Var **  texSpaceMat 
) [virtual]

Set up a texture space matrix - to pass into pixel shader.

Implements ShaderFeature.

LangElement* ShaderFeatureHLSL::assignColor ( LangElement elem,
bool  add = false 
) [virtual]

Get the color assignment - helper function.

Implements ShaderFeature.

LangElement* ShaderFeatureHLSL::expandNormalMap ( LangElement sampleNormalOp,
LangElement normalDecl,
LangElement normalVar,
const GFXMaterialFeatureData fd 
) [virtual]

Expand and assign a normal map.

Implements ShaderFeature.