Expand description
Backend functions that export shader Module
s into binary and text formats.
Modules
- Backend for DOT (Graphviz).
- Backend for GLSL (OpenGL Shading Language).
- Backend for HLSL (High-Level Shading Language).
- Backend for MSL (Metal Shading Language).
- Backend for SPIR-V (Standard Portable Intermediate Representation).
- Backend for WGSL (WebGPU Shading Language).
Structs
- Helper structure that stores data needed when writing the function
- Indentation level.
- Ray flags, for a
RayDesc
’sflags
field.
Enums
- Whether we’re generating an entry point or a regular function.
- The intersection test to use for ray queries.
Constants
- Names of vector components.
- Indent for backends.
Functions
- Helper function that returns the string corresponding to the
BinaryOperator
Type Aliases
- Expressions that need baking.
- Specifies the values of pipeline-overridable constants in the shader module.