librashader/librashader-runtime/src/lib.rs

28 lines
895 B
Rust

//! Helpers and shared logic for librashader runtime implementations.
//!
//! Most of this is only useful when _writing_ a librashader runtime implementations,
//! not _using_ a librashader runtime. Types useful for _using_ the runtime implementations
//! will be re-exported in [`librashader::runtime`](https://docs.rs/librashader/latest/librashader/runtime/index.html).
//!
//! If you are _writing_ a librashader runtime implementation, using these traits and helpers will
//! help in maintaining consistent behaviour in binding semantics and image handling.
#![feature(array_chunks)]
/// Scaling helpers.
pub mod scaling;
/// Uniform binding helpers.
pub mod uniforms;
/// Parameter reflection helpers and traits.
pub mod parameters;
/// Image handling helpers.
pub mod image;
/// Ringbuffer helpers
pub mod ringbuffer;
/// Generic implementation of semantics binding.
pub mod binding;