AddShaderSourceFileEntry

Add a new entry to the list of shader source files Only unique entries which can be loaded are added as well as their #include files

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

void AddShaderSourceFileEntry
(
    TArray< FString > & OutVirtualFilePaths,
    FString VirtualFilePath,
    EShaderPlatform ShaderPlatform
)

Remarks

Add a new entry to the list of shader source files Only unique entries which can be loaded are added as well as their #include files

Parameters

Parameter

Description

OutVirtualFilePaths

[out] list of shader source files to add to

ShaderFilename

shader file to add

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