Struct vulkano::framebuffer::Subpass[][src]

pub struct Subpass<L> { /* fields omitted */ }

Represents a subpass within a RenderPassAbstract object.

This struct doesn't correspond to anything in Vulkan. It is simply an equivalent to a tuple of a render pass and subpass index. Contrary to a tuple, however, the existence of the subpass is checked when the object is created. When you have a Subpass you are guaranteed that the given subpass does exist.

Methods

impl<L> Subpass<L> where
    L: RenderPassDesc
[src]

Returns a handle that represents a subpass of a render pass.

Returns the number of color attachments in this subpass.

Returns true if the subpass has a depth attachment or a depth-stencil attachment.

Returns true if the subpass has a depth attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal.

Returns true if the subpass has a stencil attachment or a depth-stencil attachment.

Returns true if the subpass has a stencil attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal.

Returns true if the subpass has any color or depth/stencil attachment.

Returns the number of samples in the color and/or depth/stencil attachments. Returns None if there is no such attachment in this subpass.

impl<L> Subpass<L>
[src]

Returns the render pass of this subpass.

Returns the index of this subpass within the renderpass.

Trait Implementations

impl<L: Debug> Debug for Subpass<L>
[src]

Formats the value using the given formatter. Read more

impl<L: Copy> Copy for Subpass<L>
[src]

impl<L: Clone> Clone for Subpass<L>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L> Into<(L, u32)> for Subpass<L>
[src]

Performs the conversion.

Auto Trait Implementations

impl<L> Send for Subpass<L> where
    L: Send

impl<L> Sync for Subpass<L> where
    L: Sync