Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
Include |
#include "ShaderCompilerCommon.h" |
Source |
/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp |
bool LoadSource
(
const ANSICHAR * ShaderSource,
const ANSICHAR * Filename,
const ANSICHAR * 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.