pub fn create_pipeline_layout(&self, sets: Option<&[Set<'_>]>) -> PipelineLayout {
        let mut b_layouts = Vec::new();
        if let Some(ss) = sets {
            for (index, bindings) in ss.iter().enumerate() {
                log::debug!("Created binding group layout");
                b_layouts.push(self.create_binding_group_layout(index as u32, bindings.0, bindings.1))
            }
        }
        
        PipelineLayout {
            b_layouts,
        }
    }
/// Create a pipeline layout from a set of bindings
Create a pipeline layout from a set of bindings
Create a pipeline layout from a set of bindings
pub fn create_pipeline_layout(&self, sets: Option<&[Set<'_>]>) -> PipelineLayout {
        let mut b_layouts = Vec::new();
        if let Some(ss) = sets {
            for (index, bindings) in ss.iter().enumerate() {
                log::debug!("Created binding group layout");
                b_layouts.push(self.create_binding_group_layout(index as u32, bindings.0, bindings.1))
            }
        }
        PipelineLayout {
            b_layouts,
        }
    }
pub fn create_pipeline_layout ( & self , sets : Option < & [ Set < ' _ > ] > ) -> PipelineLayout { let mut b_layouts = Vec :: new ( ) ; if let Some ( ss ) = sets { for ( index , bindings ) in ss . iter ( ) . enumerate ( ) { log :: debug ! ( " " ) ; b_layouts . push ( self . create_binding_group_layout ( index as u32 , bindings . 0 , bindings . 1 ) ) } } PipelineLayout { b_layouts , } }
Create a pipeline layout from a set of bindings
Create a pipeline layout from a set of bindings
&self
sets
Option<&[Set<'_>]>