ReplaceVirtualFilePathForShaderPlatform

Replaces virtual platform path with appropriate path for a given ShaderPlatform.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h

Include

#include "ShaderCore.h"

Source

/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp

Syntax

bool ReplaceVirtualFilePathForShaderPlatform
(
    FString & InOutVirtualFilePath,
    EShaderPlatform ShaderPlatform
)

Remarks

Replaces virtual platform path with appropriate path for a given ShaderPlatform. Returns true if path was changed.

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