macro_rules! single_pass_renderpass {
    (
        $device:expr,
        attachments: { $($a:tt)* },
        pass: {
            color: [$($color_atch:ident),* $(,)?]
            $(, color_resolve: [$($color_resolve_atch:ident),* $(,)?])?
            , depth_stencil: {$($depth_stencil_atch:ident)?}
            $(
                , depth_stencil_resolve: {$depth_stencil_resolve_atch:ident}
                $(, depth_resolve_mode: $depth_resolve_mode:ident)?
                $(, stencil_resolve_mode: $stencil_resolve_mode:ident)?
            )?
            $(,)?
        } $(,)?
    ) => { ... };
}
Expand description

Builds a RenderPass object whose template parameter is of indeterminate type.