ProcessCookOnTheFlyShaders

Handles serializing in MeshMaterialMaps from a CookOnTheFly command and applying them to the in-memory shadermaps.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Source

/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp

Syntax

void ProcessCookOnTheFlyShaders
(
    bool bReloadGlobalShaders,
    const TArray< uint8 > & MeshMaterialMaps,
    const TArray< FString > & MaterialsToLoad
)

Remarks

Handles serializing in MeshMaterialMaps from a CookOnTheFly command and applying them to the in-memory shadermaps.

Parameters

Parameter

Description

MeshMaterialMaps

Byte array that contains the serialized shadermap from across the network.

MaterialsToLoad

The materials contained in the MeshMaterialMaps

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