pub struct EmptySinglePassRenderPassDesc;
Expand description

Description of an empty render pass.

Can be used to create a render pass with one subpass and no attachment.

Example

use vulkano::framebuffer::EmptySinglePassRenderPassDesc;
use vulkano::framebuffer::RenderPassDesc;

let rp = EmptySinglePassRenderPassDesc.build_render_pass(device.clone());

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the number of attachments of the render pass.
Returns the description of an attachment. Read more
Returns the number of subpasses of the render pass.
Returns the description of a subpass. Read more
Returns the number of dependencies of the render pass.
Returns the description of a dependency. Read more
Returns the number of color attachments of a subpass. Returns None if out of range.
Returns the number of samples of the attachments of a subpass. Returns None if out of range or if the subpass has no attachment. TODO: return an enum instead? Read more
Returns a tuple whose first element is true if there’s a depth attachment, and whose second element is true if there’s a stencil attachment. Returns None if out of range. Read more
Returns true if a subpass has a depth attachment or a depth-stencil attachment.
Returns true if a subpass has a depth attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal. Read more
Returns true if a subpass has a stencil attachment or a depth-stencil attachment.
Returns true if a subpass has a stencil attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal. Read more
Returns an iterator to the list of attachments.
Returns an iterator to the list of subpasses.
Returns an iterator to the list of dependencies.
Returns true if this render pass is compatible with another render pass. Read more
Builds a render pass from this description. Read more
Decodes a C into a list of clear values where each element corresponds to an attachment. The size of the returned iterator must be the same as the number of attachments. Read more
Decodes a C into a list of clear values where each element corresponds to an attachment. The size of the returned iterator must be the same as the number of attachments. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.