Struct vulkano::render_pass::FramebufferBuilder [−][src]
pub struct FramebufferBuilder { /* fields omitted */ }
Expand description
Prototype of a framebuffer.
Implementations
pub fn add(
self,
attachment: Arc<dyn ImageViewAbstract>
) -> Result<Self, FramebufferCreationError>
pub fn add(
self,
attachment: Arc<dyn ImageViewAbstract>
) -> Result<Self, FramebufferCreationError>
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.
Builds the framebuffer.
Auto Trait Implementations
impl !RefUnwindSafe for FramebufferBuilder
impl Send for FramebufferBuilder
impl Sync for FramebufferBuilder
impl Unpin for FramebufferBuilder
impl !UnwindSafe for FramebufferBuilder
Blanket Implementations
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.