Struct sierra::AttachmentInfo
source · pub struct AttachmentInfo {
pub format: Format,
pub samples: Samples,
pub load_op: LoadOp,
pub store_op: StoreOp,
pub initial_layout: Option<Layout>,
pub final_layout: Layout,
}
Expand description
Describes one attachment of a render pass.
Fields§
§format: Format
§samples: Samples
§load_op: LoadOp
§store_op: StoreOp
§initial_layout: Option<Layout>
§final_layout: Layout
Trait Implementations§
source§impl Clone for AttachmentInfo
impl Clone for AttachmentInfo
source§fn clone(&self) -> AttachmentInfo
fn clone(&self) -> AttachmentInfo
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 moresource§impl Debug for AttachmentInfo
impl Debug for AttachmentInfo
source§impl Hash for AttachmentInfo
impl Hash for AttachmentInfo
source§impl PartialEq<AttachmentInfo> for AttachmentInfo
impl PartialEq<AttachmentInfo> for AttachmentInfo
source§fn eq(&self, other: &AttachmentInfo) -> bool
fn eq(&self, other: &AttachmentInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.