macro_rules! ordered_passes_renderpass {
($ device : expr, attachments :
{
$
($ atch_name : ident :
{
load : $ load : ident, store : $ store : ident, format : $ format :
expr, samples : $ samples : expr, $
(initial_layout : $ init_layout : expr,) * $
(final_layout : $ final_layout : expr,) *
}), *
}, passes :
[$
({
color : [$ ($ color_atch : ident), *], depth_stencil :
{ $ ($ depth_atch : ident) * }, input : [$ ($ input_atch : ident), *] $
(,) * $ (resolve : [$ ($ resolve_atch : ident), *]) * $ (,) *
}), *]) => { ... };
}
Builds a RenderPass
object whose template parameter is of indeterminate type.