UMaterial::CompileMaterialsForRemoteRecompile

Builds a map from [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) name to the shader maps that are needed for rendering on the given platform.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

static void CompileMaterialsForRemoteRecompile
(
    const TArray< UMaterialInterface * > & MaterialsToCompile,
    EShaderPlatform ShaderPlatform,
    class ITargetPlatform * TargetPlatform,
    TMap< FString, TArray< TRefCountPtr< class FMaterialShaderMap > > > & OutShaderMaps
)

Remarks

Builds a map from UMaterialInterface name to the shader maps that are needed for rendering on the given platform.

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