Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon > API/Developer/ShaderCompilerCommon/FShaderConductorContext > API/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 ANSICHAR &42; ShaderSource,
const ANSICHAR &42; Filename,
const ANSICHAR &42; 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.