Expand description
A crate for parsing the ISF aka Interactive Shader Format as described by the spec:
https://www.interactiveshaderformat.com/spec
Also provides deserialization and serialization of the Isf
instance for ease of both
consuming and generating ISF shaders.
The parse function can parse a given GLSL string to produce an Isf instance. The Isf type represents a fully structured representation of the format, including typed Inputs.
Structs§
- Image
Import - A described image import
- Input
- Describes an input to the ISF shader.
- Input
Audio - Input
Audio Fft - Input
Bool - Input
Long - Input
Values - Possible values stored for the type.
- Isf
- Representation of the JSON structure parsed from the top-level GLSL comment.
- Pass
- Describes a pass of an ISF shader.
Enums§
- Input
Type - Input types supported by ISF.
- Parse
Error - Errors that might occur while parsing a GLSL string for an ISF blob.
Functions§
- parse
- Attempt to parse an ISF blob from a GLSL source string.