Trait vulkano::descriptor::pipeline_layout::PipelineLayoutDescNames [] [src]

pub unsafe trait PipelineLayoutDescNames: PipelineLayoutDesc {
    fn descriptor_by_name(&self, name: &str) -> Option<(usize, usize)>;
}

Extension trait for PipelineLayoutDesc. Allows retreiving a descriptor by its name.

Required Methods

Returns the set ID and descriptor ID within set of the descriptor with the given name.

Returns None if the name was not found.

Implementors