MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getFeatureSet

Method getFeatureSet

Engine/source/materials/materialDefinition.cpp:688–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688void Material::StageData::getFeatureSet(FeatureSet* outFeatures) const
689{
690 TextureTable::ConstIterator iter = mTextures.begin();
691 for (; iter != mTextures.end(); iter++)
692 {
693 if (iter->value.isValid())
694 outFeatures->addFeature(*iter->key);
695 }
696}
697
698DefineEngineMethod(Material, flush, void, (), ,
699 "Flushes all material instances that use this material.")

Callers 1

_determineFeaturesMethod · 0.80

Calls 4

addFeatureMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected