Struct vulkano::framebuffer::EmptySinglePassRenderPassDesc [] [src]

pub struct EmptySinglePassRenderPassDesc;

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

impl Debug for EmptySinglePassRenderPassDesc
[src]

[src]

Formats the value using the given formatter.

impl Copy for EmptySinglePassRenderPassDesc
[src]

impl Clone for EmptySinglePassRenderPassDesc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl RenderPassDesc for EmptySinglePassRenderPassDesc
[src]

[src]

Returns the number of attachments of the render pass.

[src]

Returns the description of an attachment. Read more

[src]

Returns the number of subpasses of the render pass.

[src]

Returns the description of a subpass. Read more

[src]

Returns the number of dependencies of the render pass.

[src]

Returns the description of a dependency. Read more

[src]

Returns the number of color attachments of a subpass. Returns None if out of range.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Returns an iterator to the list of attachments.

[src]

Returns an iterator to the list of subpasses.

[src]

Returns an iterator to the list of dependencies.

[src]

Returns true if this render pass is compatible with another render pass. Read more

[src]

Builds a render pass from this description. Read more

impl RenderPassDescClearValues<Vec<ClearValue>> for EmptySinglePassRenderPassDesc
[src]

[src]

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

impl RenderPassDescClearValues<()> for EmptySinglePassRenderPassDesc
[src]

[src]

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