pub struct ImageStore<R> {
pub view: R,
pub index: u32,
pub dim: Dim,
pub texel: [u32; 3],
pub layer: Option<u32>,
pub value: [u32; 4],
pub lanes: u8,
}Expand description
A write to an unordered-access texture.
Fields§
§view: RThe unordered-access view written.
index: u32Which view of an array of views (0 for a view that is not in an array).
dim: DimThe view’s shape.
texel: [u32; 3]The integer address of the texel (x, y, z; the rest 0).
layer: Option<u32>An array’s layer.
value: [u32; 4]The lanes as the program writes them (bits); only the first lanes are written.
lanes: u8How many of the value’s lanes the program writes.
Trait Implementations§
Source§impl<R: Clone> Clone for ImageStore<R>
impl<R: Clone> Clone for ImageStore<R>
impl<R: Copy> Copy for ImageStore<R>
Auto Trait Implementations§
impl<R> Forget for ImageStore<R>
impl<R> Freeze for ImageStore<R>where
R: Freeze,
impl<R> RefUnwindSafe for ImageStore<R>where
R: RefUnwindSafe,
impl<R> Send for ImageStore<R>where
R: Send,
impl<R> Sync for ImageStore<R>where
R: Sync,
impl<R> Unpin for ImageStore<R>where
R: Unpin,
impl<R> UnsafeUnpin for ImageStore<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ImageStore<R>where
R: UnwindSafe,
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