FShaderConductorContext::CompileSpirvToSourceAnsi

Compiles the specified SPIR-V shader binary code to high level source code (Metal or GLSL) stored as null terminated ANSI string.

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 CompileSpirvToSourceAnsi
(
    const FShaderConductorOptions & Options,
    const FShaderConductorTarget & Target,
    const void * InSpirv,
    uint32 InSpirvByteSize,
    TArray< ANSICHAR > & OutSource
)

Remarks

Compiles the specified SPIR-V shader binary code to high level source code (Metal or GLSL) stored as null terminated ANSI string.

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