UCookOnTheFlyServer::RecompileChangedShaders

Recompile any global shader changes if any are detected then clear the cooked platform data so that they can be rebuilt

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/CookOnTheSide/CookOnTheFlyServer.h

Include

#include "CookOnTheSide/CookOnTheFlyServer.h"

Source

/Engine/Source/Editor/UnrealEd/Private/CookOnTheFlyServer.cpp

Syntax

bool RecompileChangedShaders
(
    const TArray< const ITargetPlatform * > & TargetPlatforms
)

Remarks

Recompile any global shader changes if any are detected then clear the cooked platform data so that they can be rebuilt

Returns

return true if shaders were recompiled

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