FMaterialResourceStats::SetupExtraCompilationSettings

This will enable shader source extraction and pass paths to (eventual) offline shader compilers

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

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h
Include #include "MaterialStatsCommon.h"
Source /Engine/Source/Editor/MaterialEditor/Private/MaterialStatsCommon.cpp
virtual void SetupExtraCompilationSettings
(
    const EShaderPlatform Platform,
    [FExtraShaderCompilerSettings](API\Runtime\RenderCore\FExtraShaderCompilerSettings) & Settings
) const

Remarks

This will enable shader source extraction and pass paths to (eventual) offline shader compilers


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library