FMaterialResourceStats::RequiresSynchronousCompilation

Material resource stats never requires a synchronous compilation, otherwise opening up empty (newly created) material instance will block compiling default mat's shaders.

Unreal Engine C++ API Reference > Editor > MaterialEditor > FMaterialResourceStats

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h
Include #include "MaterialStatsCommon.h"
virtual bool RequiresSynchronousCompilation() const

Remarks

Material resource stats never requires a synchronous compilation, otherwise opening up empty (newly created) material instance will block compiling default mat's shaders.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library