FShaderConductorContext::CompileSpirvToSource

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

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp

Syntax

bool CompileSpirvToSource
(
    const FShaderConductorOptions & Options,
    const FShaderConductorTarget & Target,
    const void * InSpirv,
    uint32 InSpirvByteSize,
    FString & OutSource
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss