Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon > API/Developer/ShaderCompilerCommon/FShaderConductorContext
References
| Module | ShaderCompilerCommon |
| Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h |
| Include | #include "ShaderConductorContext.h" |
| Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderConductorContext.cpp |
bool CompileSpirvToSourceBuffer
(
const FShaderConductorOptions & Options,
const FShaderConductorTarget & Target,
const void * InSpirv,
uint32 InSpirvByteSize,
const TFunction < void Size)> & OutputCallback
)
Remarks
Compiles the specified SPIR-V shader binary code to high level source code (Metal or GLSL) stored as byte buffer (without null terminator as it comes from ShaderConductor).