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