FMaterialResourceStats

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

Inheritance Hierarchy

FMaterial

FMaterialResource

FMaterialResourceStats

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialStatsCommon.h

Include

#include "MaterialStatsCommon.h"

Syntax

class FMaterialResourceStats : public FMaterialResource

Remarks

Custom resource material class used to mark the resource as used for shader stats extraction

Constructors

Name Description

Public function

FMaterialResourceStats()

Destructors

Name Description

Public function Virtual

~FMaterialResourceStats()

Functions

Name Description

Public function

UMaterial &#...

 

GetMaterial()

Overridden from FMaterial

Name Description

Public function Virtual Const

void

 

SetupExtaCompilationSettings

(
    const EShaderPlatform Platform,
    FExtraShaderCompilerSettings& Sett...
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss