Struct vulkano::framebuffer::Framebuffer [] [src]

pub struct Framebuffer<L> { /* fields omitted */ }

Contains the list of images attached to a render pass.

This is a structure that you must pass when you start recording draw commands in a command buffer.

A framebuffer can be used alongside with any other render pass object as long as it is compatible with the render pass that his framebuffer was created with. You can determine whether two renderpass objects are compatible by calling is_compatible_with.

Methods

impl<L> Framebuffer<L>
[src]

Builds a new framebuffer.

The attachments parameter depends on which RenderPass implementation is used.

Returns true if this framebuffer can be used with the specified renderpass.

Returns the width, height and layers of this framebuffer.

Returns the width of the framebuffer in pixels.

Returns the height of the framebuffer in pixels.

Returns the number of layers (or depth) of the framebuffer.

Returns the device that was used to create this framebuffer.

Returns the renderpass that was used to create this framebuffer.

Returns all the resources attached to that framebuffer.

Trait Implementations

impl<L> VulkanObject for Framebuffer<L>
[src]

The type of the object.

Returns a reference to the object.

impl<L> Drop for Framebuffer<L>
[src]

A method called when the value goes out of scope. Read more