2022-11-30 22:50:57 -05:00
|
|
|
//! Helpers and shared logic for librashader runtime implementations.
|
2023-01-16 23:09:07 -05:00
|
|
|
//!
|
2023-01-19 01:23:51 -05: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-16 23:09:07 -05:00
|
|
|
//!
|
2023-01-19 01:23:51 -05: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-16 23:09:07 -05:00
|
|
|
#![feature(array_chunks)]
|
2022-11-30 22:50:57 -05:00
|
|
|
|
|
|
|
/// Scaling helpers.
|
2022-11-30 01:38:05 -05:00
|
|
|
pub mod scaling;
|
2022-11-30 22:50:57 -05:00
|
|
|
|
|
|
|
/// Uniform binding helpers.
|
2022-11-29 00:23:48 -05:00
|
|
|
pub mod uniforms;
|
2022-11-30 22:50:57 -05:00
|
|
|
|
|
|
|
/// Parameter reflection helpers and traits.
|
|
|
|
pub mod parameters;
|
|
|
|
|
2022-12-01 17:11:42 -05:00
|
|
|
/// Image handling helpers.
|
|
|
|
pub mod image;
|
2022-12-06 01:01:21 -05:00
|
|
|
|
|
|
|
/// Ringbuffer helpers
|
|
|
|
pub mod ringbuffer;
|
2023-01-15 03:01:23 -05:00
|
|
|
|
|
|
|
/// Generic implementation of semantics binding.
|
|
|
|
pub mod binding;
|
2023-02-05 18:03:38 -05:00
|
|
|
|
2023-02-07 22:02:08 -05:00
|
|
|
/// VBO helper utilities.
|
2023-01-31 00:53:55 -05:00
|
|
|
pub mod quad;
|
2023-02-07 02:12:47 -05:00
|
|
|
|
2023-02-07 22:02:08 -05:00
|
|
|
/// Filter pass helpers and common traits.
|
2023-02-07 02:12:47 -05:00
|
|
|
pub mod filter_pass;
|
2023-02-07 23:08:44 -05:00
|
|
|
|
|
|
|
/// Common types for render targets.
|
|
|
|
pub mod render_target;
|
2023-02-11 00:20:35 -05:00
|
|
|
|
|
|
|
/// Helpers for handling framebuffers.
|
|
|
|
pub mod framebuffer;
|