amethyst_rendy 0.3.0

High-level rendering engine with multiple backends
macro_rules! set_layout {
    ($factory:expr, $([$times:expr] $ty:ident $flags:expr),*) => {
        $factory.create_descriptor_set_layout(
            crate::util::set_layout_bindings(
                std::iter::empty()
                    $(.chain(std::iter::once((
                        $times as u32,
                        rendy::hal::pso::DescriptorType::$ty,
                        $flags
                    ))))*
            )
        )?.into()
    }
}