Skip to main content

librashader_presets/
lib.rs

1//! Shader preset definition parsing for librashader.
2//!
3//! This crate contains facilities and types for parsing `.slangp` shader presets files.
4//!
5//! Shader presets contain shader and texture parameters, and the order in which to apply a set of
6//! shaders in a filter chain. A librashader runtime takes a resulting [`ShaderPreset`]
7//! as input to create a filter chain.
8//!
9//! Re-exported as [`librashader::presets`](https://docs.rs/librashader/latest/librashader/presets/index.html).
10
11pub mod context;
12mod error;
13mod parse;
14mod preset;
15
16pub use context::WildcardContext;
17pub use error::*;
18pub use preset::*;