Struct sierra::FramebufferInfo
source · pub struct FramebufferInfo {
pub render_pass: RenderPass,
pub attachments: Vec<ImageView>,
pub extent: Extent2,
}
Expand description
Defines Framebuffer
state.
Can be used to Device::create_framebuffer
.
Fields§
§render_pass: RenderPass
RenderPass
with which framebuffer can be used.
attachments: Vec<ImageView>
ImageView
s that will be used as attachments for render pass started with framebuffer.
extent: Extent2
Specifies dimensions of the rendering operations over framebuffer.
Trait Implementations§
source§impl Clone for FramebufferInfo
impl Clone for FramebufferInfo
source§fn clone(&self) -> FramebufferInfo
fn clone(&self) -> FramebufferInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more