Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor
Inheritance Hierarchy
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h |
Include | #include "MaterialStatsCommon.h" |
Syntax
class FMaterialResourceStats : public [FMaterialResource](API\Runtime\Engine\FMaterialResource)
Remarks
Custom resource material class used to mark the resource as used for shader stats extraction
Constructors
Type | Name | Description |
---|---|---|
FMaterialResourceStats () |
Destructors
Type | Name | Description |
---|---|---|
~FMaterialResourceStats () |
Functions
Type | Name | Description |
---|---|---|
UMaterial &#... | GetMaterial () |
Overridden from FMaterial
Type | Name | Description |
---|---|---|
bool | IsPersistent () | Should shaders compiled for this material be saved to disk? |
bool | IsPreview () | Use preview settings when compiling material. Used to avoid culling nodes behind landscape weights. |
bool | RequiresSynchronousCompilation () | Material resource stats never requires a synchronous compilation, otherwise opening up empty (newly created) material instance will block compiling default mat's shaders. |
void | SetupExtraCompilationSettings ( const EShaderPlatform Platform, FExtraShaderCompilerSettings& Sett... ) | This will enable shader source extraction and pass paths to (eventual) offline shader compilers |