pub struct NodeImage {
pub id: ImageId,
pub range: SubresourceRange,
pub layout: Layout,
pub clear: Option<ClearValue>,
pub acquire: Option<ImageBarrier>,
pub release: Option<ImageBarrier>,
}Expand description
Image shared between nodes.
Fields§
§id: ImageIdId of the image.
range: SubresourceRangeRegion of the image that is the transient resource.
layout: LayoutImage state for node.
clear: Option<ClearValue>Specify that node should clear image to this value.
acquire: Option<ImageBarrier>Acquire barrier. Node implementation must insert it before first command that uses the image. Barrier must be inserted even if this node doesn’t use the image.
release: Option<ImageBarrier>Release barrier. Node implementation must insert it after last command that uses the image. Barrier must be inserted even if this node doesn’t use the image.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeImage
impl RefUnwindSafe for NodeImage
impl Send for NodeImage
impl Sync for NodeImage
impl Unpin for NodeImage
impl UnwindSafe for NodeImage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more