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 ( const [FString](API\Runtime\Core\Containers\FString) & ShaderSource, const [FString](API\Runtime\Core\Containers\FString) & Filename, const [FString](API\Runtime\Core\Containers\FString) & EntryPoint, EShaderFrequency ShaderStage, const [FShaderCompilerDefinitions](API\Runtime\RenderCore\FShaderCompilerDefinitions) * Definitions, const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\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.