FShaderConductorContext::CompileSpirvToSourceAnsi

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

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 CompileSpirvToSourceAnsi
(
    const [FShaderConductorOptions](API\Developer\ShaderCompilerCommon\FShaderConductorOptions) & Options,
    const [FShaderConductorTarget](API\Developer\ShaderCompilerCommon\FShaderConductorTarget) & Target,
    const void * InSpirv,
    uint32 InSpirvByteSize,
    [TArray](API\Runtime\Core\Containers\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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library