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
&40;
const FShaderConductorOptions & Options,
const FShaderConductorTarget & Target,
const void &42; InSpirv,
uint32 InSpirvByteSize,
const TFunction< void(const void &42;Data, uint32 Size)> & OutputCallback
&41;
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).