Navigation
Unreal Engine C++ API Reference > Developer > ShaderFormatOpenGL > FGlslCodeBackend
References
Module | ShaderFormatOpenGL |
Header | /Engine/Source/Developer/ShaderFormatOpenGL/Public/GlslBackend.h |
Include | #include "GlslBackend.h" |
Source | /Engine/Source/Developer/ShaderFormatOpenGL/Private/GlslBackend.cpp |
virtual bool GenerateMain ( EHlslShaderFrequency Frequency, const char * EntryPoint, exec_list * Instructions, _mesa_glsl_parse_state * ParseState )
Remarks
Generate a GLSL main() function that calls the entry point and handles reading and writing all input and output semantics.
Parameters
Name | Description |
---|---|
Frequency | The shader frequency. |
EntryPoint | The name of the shader entry point. |
Instructions | IR code. |
ParseState | Parse state. |