Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Validates the format of a virtual shader file path. Meant to be use as such: check(CheckVirtualShaderFilePath(VirtualFilePath)); CompileErrors output array is optional. If this is non-null, all validation errors are returned to this array instead of logging them to LogShaders.
| Name | CheckVirtualShaderFilePath |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCompilerCore.h |
| Include Path | #include "ShaderCompilerCore.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp |
bool CheckVirtualShaderFilePath
(
FStringView VirtualPath,
TArray < FShaderCompilerError > * CompileErrors
)