Navigation
Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon > FShaderConductorContext > LoadSource
References
Module | ShaderCompilerCommon |
Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h |
Include | #include "ShaderConductorContext.h" |
Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderConductorContext.cpp |
bool LoadSource
&40;
const FString & ShaderSource,
const FString & Filename,
const FString & EntryPoint,
EShaderFrequency ShaderStage,
const FShaderCompilerDefinitions &42; Definitions,
const TArray< FString > &42; ExtraDxcArgs
&41;
Remarks
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.