Struct vulkano::framebuffer::FramebufferBuilder [] [src]

pub struct FramebufferBuilder<Rp, A> { /* fields omitted */ }

Prototype of a framebuffer.

Methods

impl<Rp, A> FramebufferBuilder<Rp, A> where
    Rp: RenderPassAbstract,
    A: AttachmentsList
[src]

[src]

Appends an attachment to the prototype of the framebuffer.

Attachments must be added in the same order as the one defined in the render pass.

[src]

Turns this builder into a FramebufferBuilder<Rp, Box<AttachmentsList>>.

This allows you to store the builder in situations where you don't know in advance the number of attachments.

Note: This is a very rare corner case and you shouldn't have to use this function in most situations.

[src]

Builds the framebuffer.

Trait Implementations

impl<Rp, A> Debug for FramebufferBuilder<Rp, A> where
    Rp: Debug,
    A: Debug
[src]

[src]

Formats the value using the given formatter.