librashader/librashader-presets/src/lib.rs

23 lines
718 B
Rust
Raw Normal View History

2023-01-19 11:39:36 +11:00
//! Shader preset definition parsing for librashader.
//!
//! This crate contains facilities and types for parsing `.slangp` shader presets files.
//!
//! Shader presets contain shader and texture parameters, and the order in which to apply a set of
//! shaders in a filter chain. A librashader runtime takes a resulting [`ShaderPreset`](crate::ShaderPreset)
//! as input to create a filter chain.
//!
//! Re-exported as [`librashader::presets`](https://docs.rs/librashader/latest/librashader/presets/index.html).
2024-02-03 18:16:38 +11:00
2024-02-09 13:33:17 +11:00
#![allow(stable_features)]
2024-02-03 18:16:38 +11:00
#![allow(unstable_name_collisions)]
2022-10-18 14:52:16 +11:00
mod error;
2024-02-06 17:32:08 +11:00
mod extract_if;
mod parse;
mod preset;
pub mod context;
pub use context::WildcardContext;
2022-10-23 15:59:18 +11:00
pub use error::*;
pub use preset::*;