Module |
|
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
)
Generate a GLSL main() function that calls the entry point and handles reading and writing all input and output semantics.
Parameter |
Description |
---|---|
Frequency |
The shader frequency. |
EntryPoint |
The name of the shader entry point. |
Instructions |
IR code. |
ParseState |
Parse state. |