Macro vulkano::pipeline_layout [] [src]

macro_rules! pipeline_layout {
    (push_constants: { $($pc_f:ident: $pc_t:ty),* } $(, $name:ident: { $($field:ident: $ty:ty),* })*) => { ... };
    ($($name:ident: { $($field:ident: $ty:ty),* }),*) => { ... };
    (__inner__ ($num:expr) $name:ident: { $($field:ident: $ty:ty),* } $($rest:tt)*) => { ... };
    (__inner__ ($num:expr)) => { ... };
}

Call this macro with the layout of a pipeline to generate some helper structs that wrap around vulkano's unsafe APIs.