Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
Include |
#include "ShaderCompilerCommon.h" |
Source |
/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp |
bool LoadSource
(
const FString & ShaderSource,
const FString & Filename,
const FString & EntryPoint,
EHlslShaderFrequency ShaderStage,
const FShaderCompilerDefinitions * Definitions
)
Loads the shader source and converts the input descriptor to a format suitable for ShaderConductor. If 'Definitions' is null, the previously loaded definitions are not modified.