ParseVirtualShaderFilename

Converts an absolute or relative shader filename to a filename relative to the shader directory.

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 ParseVirtualShaderFilename
(
    const FString & InFilename
)

Remarks

Converts an absolute or relative shader filename to a filename relative to the shader directory.

Returns

a filename relative to the shaders directory.

Parameters

Parameter

Description

InFilename

The shader filename.

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