GetShaderSourceFilePath

Convert the virtual shader path to an actual file system path.

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

FString GetShaderSourceFilePath
(
    const FString & VirtualFilePath,
    TArray< struct FShaderCompilerError > * CompileErrors
)

Remarks

Convert the virtual shader path to an actual file system path. CompileErrors output array is optional.

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