2023-01-18 19:39:36 -05: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 02:16:38 -05:00
|
|
|
|
|
|
|
#![allow(unstable_name_collisions)]
|
2022-10-17 23:52:16 -04:00
|
|
|
|
2022-10-19 22:47:43 -04:00
|
|
|
mod error;
|
2024-02-06 01:32:08 -05:00
|
|
|
mod extract_if;
|
2022-10-20 23:11:23 -04:00
|
|
|
mod parse;
|
2022-10-19 22:47:43 -04:00
|
|
|
mod preset;
|
2024-02-03 02:40:32 -05:00
|
|
|
|
2022-10-23 00:59:18 -04:00
|
|
|
pub use error::*;
|
2022-10-18 01:07:38 -04:00
|
|
|
pub use preset::*;
|