FShaderConductorContext::CompileSpirvToSource

Compiles the specified SPIR-V shader binary code to high level source code (Metal or GLSL).

Unreal Engine C++ API Reference > 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 CompileSpirvToSource
(
    const [FShaderConductorOptions](API\Developer\ShaderCompilerCommon\FShaderConductorOptions) & Options,
    const [FShaderConductorTarget](API\Developer\ShaderCompilerCommon\FShaderConductorTarget) & Target,
    const void * InSpirv,
    uint32 InSpirvByteSize,
    [FString](API\Runtime\Core\Containers\FString) & OutSource
)

Remarks

Compiles the specified SPIR-V shader binary code to high level source code (Metal or GLSL).


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library