pub struct OutputLayout {
pub full_size: usize,
pub read_size: usize,
pub copy_offset: usize,
pub copy_size: usize,
pub trim_start: usize,
}Expand description
Output readback layout derived from a program’s declared output range.
Fields§
§full_size: usizeFull output buffer byte size allocated on the GPU.
read_size: usizeConsumer-visible byte count returned from dispatch.
copy_offset: usizeAligned source offset copied from the GPU output buffer.
copy_size: usizeAligned staging-buffer byte size.
trim_start: usizeOffset within the staging buffer where the requested range starts.
Trait Implementations§
Source§impl Clone for OutputLayout
impl Clone for OutputLayout
Source§fn clone(&self) -> OutputLayout
fn clone(&self) -> OutputLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutputLayout
Source§impl Debug for OutputLayout
impl Debug for OutputLayout
impl Eq for OutputLayout
Source§impl PartialEq for OutputLayout
impl PartialEq for OutputLayout
Source§fn eq(&self, other: &OutputLayout) -> bool
fn eq(&self, other: &OutputLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputLayout
Auto Trait Implementations§
impl Freeze for OutputLayout
impl RefUnwindSafe for OutputLayout
impl Send for OutputLayout
impl Sync for OutputLayout
impl Unpin for OutputLayout
impl UnsafeUnpin for OutputLayout
impl UnwindSafe for OutputLayout
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.