pub struct GpuTrackDepth {
pub submissions_per_track: usize,
pub steps_per_submission: u32,
}Expand description
Command buffers and steps each GPU track keeps on the device.
Fields§
§submissions_per_track: usizeMaximum number of command buffers of one track on the device at once.
steps_per_submission: u32Maximum number of steps in one command buffer, no more than MAX_STEPS_PER_SUBMISSION.
Trait Implementations§
Source§impl Clone for GpuTrackDepth
impl Clone for GpuTrackDepth
impl Copy for GpuTrackDepth
Source§impl Debug for GpuTrackDepth
impl Debug for GpuTrackDepth
Source§impl Default for GpuTrackDepth
impl Default for GpuTrackDepth
Source§fn default() -> Self
fn default() -> Self
Returns two command buffers per track of MAX_STEPS_PER_SUBMISSION steps each.
impl Eq for GpuTrackDepth
Source§impl PartialEq for GpuTrackDepth
impl PartialEq for GpuTrackDepth
impl StructuralPartialEq for GpuTrackDepth
Auto Trait Implementations§
impl Freeze for GpuTrackDepth
impl RefUnwindSafe for GpuTrackDepth
impl Send for GpuTrackDepth
impl Sync for GpuTrackDepth
impl Unpin for GpuTrackDepth
impl UnsafeUnpin for GpuTrackDepth
impl UnwindSafe for GpuTrackDepth
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.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