Struct vulkano::descriptor::pipeline_layout::PipelineLayoutDescUnion [] [src]

pub struct PipelineLayoutDescUnion<A, B> { /* fields omitted */ }

Contains the union of two pipeline layout description.

If A and B both implement PipelineLayoutDesc, then this struct also implements PipelineLayoutDesc and will correspond to the union of the A object and the B object.

Methods

impl<A, B> PipelineLayoutDescUnion<A, B>
[src]

Trait Implementations

impl<A, B> PipelineLayoutDesc for PipelineLayoutDescUnion<A, B> where
    A: PipelineLayoutDesc,
    B: PipelineLayoutDesc
[src]

Returns the number of sets in the layout. Includes possibly empty sets. Read more

Returns the number of descriptors in the set. Includes possibly empty descriptors. Read more

Returns the descriptor for the given binding of the given set. Read more

If the PipelineLayoutDesc implementation is able to provide an existing UnsafeDescriptorSetLayout for a given set, it can do so by returning it here. Read more

Returns the number of push constant ranges of the layout.

Returns a description of the given push constants range. Read more

Builds the union of this layout and another.

Turns the layout description into a PipelineLayout object that can be used by Vulkan. Read more

impl<A, B> PipelineLayoutDescNames for PipelineLayoutDescUnion<A, B> where
    A: PipelineLayoutDescNames,
    B: PipelineLayoutDescNames
[src]

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