ReplaceVirtualFilePathForShaderAutogen

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

Choose your operating system:

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 ReplaceVirtualFilePathForShaderAutogen
(
    FString & InOutVirtualFilePath,
    EShaderPlatform ShaderPlatform
)

Remarks

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