librashader/librashader-runtime/src/lib.rs

31 lines
935 B
Rust
Raw Normal View History

2022-12-01 14:50:57 +11:00
//! Helpers and shared logic for librashader runtime implementations.
2023-01-17 15:09:07 +11:00
//!
//! 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).
2023-01-17 15:09:07 +11:00
//!
//! 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.
2023-01-17 15:09:07 +11:00
#![feature(array_chunks)]
2022-12-01 14:50:57 +11:00
/// Scaling helpers.
2022-11-30 17:38:05 +11:00
pub mod scaling;
2022-12-01 14:50:57 +11:00
/// Uniform binding helpers.
pub mod uniforms;
2022-12-01 14:50:57 +11:00
/// Parameter reflection helpers and traits.
pub mod parameters;
2022-12-02 09:11:42 +11:00
/// Image handling helpers.
pub mod image;
2022-12-06 17:01:21 +11:00
/// Ringbuffer helpers
pub mod ringbuffer;
2023-01-15 19:01:23 +11:00
/// Generic implementation of semantics binding.
pub mod binding;
2023-02-06 10:03:38 +11:00
/// VBO helper utilities
pub mod quad;