Struct sierra::ImageViewState
source · pub struct ImageViewState {
pub view: ImageView,
pub access: Access,
pub stages: PipelineStages,
pub layout: Option<Layout>,
pub family: Ownership,
}
Expand description
Image region with access mask, specifying how it may be accessed “before”.
Note that “before” is loosely defined, as whatever previous owners do. Which should be translated to “earlier GPU operations” but this crate doesn’t attempt to enforce that.
Fields§
§view: ImageView
§access: Access
§stages: PipelineStages
§layout: Option<Layout>
§family: Ownership
Implementations§
Trait Implementations§
source§impl Clone for ImageViewState
impl Clone for ImageViewState
source§fn clone(&self) -> ImageViewState
fn clone(&self) -> ImageViewState
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 ImageViewState
impl Debug for ImageViewState
source§impl Hash for ImageViewState
impl Hash for ImageViewState
source§impl PartialEq<ImageViewState> for ImageViewState
impl PartialEq<ImageViewState> for ImageViewState
source§fn eq(&self, other: &ImageViewState) -> bool
fn eq(&self, other: &ImageViewState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.