FeatureMgr
Engine/source/shaderGen/featureMgr.h
Protected Types
FeatureInfoVector
Protected Attributes
Protected Static Functions
Public Functions
getByType(const FeatureType & type)
Returns the count of registered features.
registerFeature(const FeatureType & type, ShaderFeature * feature)
Removes all features.
unregisterFeature(const FeatureType & type)
Public Static Functions
const char *
Detailed Description
Protected Types
typedef Vector< FeatureInfo > FeatureInfoVector
Protected Attributes
FeatureInfoVector mFeatures
bool mNeedsSort
Protected Static Functions
_featureInfoCompare(const FeatureInfo * a, const FeatureInfo * b)
Public Functions
FeatureMgr()
~FeatureMgr()
getAt(U32 index)
Returns the feature info at the index.
getByType(const FeatureType & type)
getFeatureCount()
Returns the count of registered features.
registerFeature(const FeatureType & type, ShaderFeature * feature)
unregisterAll()
Removes all features.
unregisterFeature(const FeatureType & type)