Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Loads the shader file with the given name. If the shader file couldn't be loaded, throws a fatal error.
| Name | LoadShaderSourceFileChecked |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp |
void LoadShaderSourceFileChecked
(
const TCHAR * VirtualFilePath,
EShaderPlatform ShaderPlatform,
FString & OutFileContents,
const FName * ShaderPlatformName
)