pub trait Pipeline: DeviceOwned {
    // Required methods
    fn bind_point(&self) -> PipelineBindPoint;
    fn layout(&self) -> &Arc<PipelineLayout>;
    fn num_used_descriptor_sets(&self) -> u32;
    fn descriptor_binding_requirements(
        &self
    ) -> &HashMap<(u32, u32), DescriptorBindingRequirements>;
}
Expand description

A trait for operations shared between pipeline types.

Required Methods§

source

fn bind_point(&self) -> PipelineBindPoint

Returns the bind point of this pipeline.

source

fn layout(&self) -> &Arc<PipelineLayout>

Returns the pipeline layout used in this pipeline.

source

fn num_used_descriptor_sets(&self) -> u32

Returns the number of descriptor sets actually accessed by this pipeline. This may be less than the number of sets in the pipeline layout.

source

fn descriptor_binding_requirements( &self ) -> &HashMap<(u32, u32), DescriptorBindingRequirements>

Returns a reference to the descriptor binding requirements for this pipeline.

Implementors§