FeatureType
Engine/source/shaderGen/featureType.h
Protected Attributes
Protected Static Functions
Returns the map of all the types.
Protected Functions
FeatureType(const FeatureType & type)
Public Static Functions
addDefaultTypes(FeatureSet * outFeatures)
Adds all the default features types to the set.
Public Functions
FeatureType(const char * type, U32 group, F32 order, bool isDefault)
You should not use this constructor directly.
bool
bool
operator!=(const FeatureType & type)
bool
operator==(const FeatureType & type)
Detailed Description
Protected Attributes
U32 mGroup
The group is used to orginize the types.
U32 mId
A unique feature id value.
bool mIsDefault
String mName
The feature type name.
F32 mOrder
The sort order of this feature type within its group.
Protected Static Functions
_getTypes()
Returns the map of all the types.
Protected Functions
FeatureType(const FeatureType & type)
Public Static Functions
addDefaultTypes(FeatureSet * outFeatures)
Adds all the default features types to the set.
Public Functions
FeatureType(const char * type, U32 group, F32 order, bool isDefault)
You should not use this constructor directly.
getGroup()
getId()
getName()
getOrder()
isDefault()
operator!=(const FeatureType & type)
operator==(const FeatureType & type)