FOpenGLFrontend::BuildShaderOutput

Construct the final microcode from the compiled and verified shader source.

Windows
MacOS
Linux

References

Module

ShaderFormatOpenGL

Header

/Engine/Source/Developer/ShaderFormatOpenGL/Public/ShaderFormatOpenGL.h

Include

#include "ShaderFormatOpenGL.h"

Source

/Engine/Source/Developer/ShaderFormatOpenGL/Private/OpenGLShaderCompiler.cpp

Syntax

void BuildShaderOutput
(
    FShaderCompilerOutput & ShaderOutput,
    const FShaderCompilerInput & ShaderInput,
    const ANSICHAR * InShaderSource,
    int32 SourceLen,
    GLSLVersion Version
)

Remarks

Construct the final microcode from the compiled and verified shader source.

Parameters

Parameter

Description

ShaderOutput

Where to store the microcode and parameter map.

InShaderSource

GLSL source with input/output signature.

SourceLen

The length of the GLSL source code.

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