Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialCompiler
- FMaterialCompiler::GetCompiledShadingModels()
- FProxyMaterialCompiler::GetCompiledShadingModels()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include | #include "MaterialCompiler.h" |
FMaterialShadingModelField GetCompiledShadingModels&40;&41; const
Remarks
Get the shading models that were encountered when compiling a material's Shading Model attribute graph. This will represent the actually used Shading Models for a particular material given its static switches, feature levels and material quality for example. Will return all Shading Models in the material if this is called before that attribute has been compiled.