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 |
PRAGMA_DISABLE_DEPRECATION_WARNINGS bool LoadSource
(
const FString & ShaderSource,
const FString & Filename,
const FString & EntryPoint,
EShaderFrequency ShaderStage,
const FShaderCompilerDefinitions * Definitions,
const TArray < FString > * ExtraDxcArgs
)
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.