Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FProxyMaterialCompiler
Description
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.
Virtual Inheritance
- FMaterialCompiler::GetCompiledShadingModels → FProxyMaterialCompiler::GetCompiledShadingModels
| Name | GetCompiledShadingModels |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include Path | #include "MaterialCompiler.h" |
virtual FMaterialShadingModelField GetCompiledShadingModels() const