Module glsl

Source
Expand description

Frontend for GLSL (OpenGL Shading Language).

To begin, take a look at the documentation for the Frontend.

ยงSupported versions

ยงVulkan

  • 440 (partial)
  • 450
  • 460

Modulesยง

ast ๐Ÿ”’
builtins ๐Ÿ”’
context ๐Ÿ”’
error ๐Ÿ”’
functions ๐Ÿ”’
lex ๐Ÿ”’
offset ๐Ÿ”’
Module responsible for calculating the offset and span for types.
parser ๐Ÿ”’
token ๐Ÿ”’
types ๐Ÿ”’
variables ๐Ÿ”’

Structsยง

Error
Error returned during shader parsing.
Frontend
The Frontend is the central structure of the GLSL frontend.
Options
Per-shader options passed to parse.
ParseErrors
A collection of errors returned during shader parsing.
ShaderMetadata
Additional information about the GLSL shader.

Enumsยง

ErrorKind
Information about the cause of an error.
ExpectedToken
One of the expected tokens returned in InvalidToken.
Precision
A precision hint used in GLSL declarations.
Profile
The GLSL profile used by a shader.
TokenValue
A token passed from the lexing used in the parsing.

Type Aliasesยง

Result ๐Ÿ”’