Struct vulkano::framebuffer::EmptySinglePassRenderPass [] [src]

pub struct EmptySinglePassRenderPass { /* fields omitted */ }

Implementation of RenderPass with no attachment at all and a single pass.

When you use a EmptySinglePassRenderPass, the list of attachments and clear values must be ().

Methods

impl EmptySinglePassRenderPass
[src]

See the docs of new().

Builds the render pass.

Panic

  • Panics if the device or host ran out of memory.

Trait Implementations

impl RenderPass for EmptySinglePassRenderPass
[src]

Returns the underlying UnsafeRenderPass. Used by vulkano's internals.

impl RenderPassDesc for EmptySinglePassRenderPass
[src]

Iterator returned by the attachments method.

Iterator returned by the passes method.

Iterator returned by the dependencies method.

Returns an iterator that describes the list of attachments of this render pass.

Returns an iterator that describes the list of passes of this render pass.

Returns an iterator that describes the list of inter-pass dependencies of this render pass.

Returns the number of subpasses within the render pass.

Returns the number of color attachments in 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

impl RenderPassAttachmentsList<()> for EmptySinglePassRenderPass
[src]

A decoded A.

Decodes a A into a list of attachments. Read more

impl RenderPassClearValues<()> for EmptySinglePassRenderPass
[src]

Iterator that produces one clear value per attachment.

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