FOpenGLFrontend::BuildShaderOutput

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

Unreal Engine C++ API Reference > Developer > ShaderFormatOpenGL > FOpenGLFrontend

References

   
Module ShaderFormatOpenGL
Header /Engine/Source/Developer/ShaderFormatOpenGL/Public/ShaderFormatOpenGL.h
Include #include "ShaderFormatOpenGL.h"
Source /Engine/Source/Developer/ShaderFormatOpenGL/Private/OpenGLShaderCompiler.cpp
void BuildShaderOutput
(
    [FShaderCompilerOutput](API\Runtime\RenderCore\FShaderCompilerOutput) & ShaderOutput,
    const [FShaderCompilerInput](API\Runtime\RenderCore\FShaderCompilerInput) & ShaderInput,
    const ANSICHAR * InShaderSource,
    int32 SourceLen,
    [GLSLVersion](API\Developer\ShaderFormatOpenGL\GLSLVersion) Version
)

Remarks

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

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library