rendy_util/types/
mod.rs

1//!
2//! Types shared across rendy
3//!
4#[doc(inline)]
5pub mod vertex;
6
7/// Set layout
8#[derive(Clone, Debug, Default)]
9pub struct SetLayout {
10    /// Set layout bindings.
11    pub bindings: Vec<gfx_hal::pso::DescriptorSetLayoutBinding>,
12}
13
14/// Pipeline layout
15#[derive(Clone, Debug)]
16pub struct Layout {
17    /// Sets in pipeline layout.
18    pub sets: Vec<SetLayout>,
19
20    /// Push constants in pipeline layout.
21    pub push_constants: Vec<(gfx_hal::pso::ShaderStageFlags, std::ops::Range<u32>)>,
22}