Expand description
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
as input to create a filter chain.
Re-exported as librashader::presets
.
Re-exports§
pub use context::WildcardContext;
Modules§
- Shader preset wildcard replacement context handling.
Structs§
- Configuration options for a shader parameter.
- Meta information about a shader pass.
- A reference to a resource on disk.
- 2D quad scaling parameters.
- Framebuffer scaling parameters.
- A shader preset including all specified parameters, textures, and paths to specified shaders.
- Configuration options for a lookup texture used in the shader.
Enums§
- The kind of error that may occur in parsing.
- Error type for preset parsing.
- The scaling factor for framebuffer scaling.
- The scaling type for the shader pass.
Type Aliases§
- The configuration for a single shader pass.
- Configuration options for a lookup texture used in the shader.