pub struct ComputePipeline { /* private fields */ }Implementations§
Source§impl ComputePipeline
impl ComputePipeline
pub fn get_workgroup_size(&self) -> [u32; 3]
Source§impl ComputePipeline
impl ComputePipeline
Sourcepub fn get_dispatch_for(&self, extent: Extent) -> [u32; 3]
pub fn get_dispatch_for(&self, extent: Extent) -> [u32; 3]
Return the dispatch group counts sufficient to cover the given extent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComputePipeline
impl RefUnwindSafe for ComputePipeline
impl Send for ComputePipeline
impl Sync for ComputePipeline
impl Unpin for ComputePipeline
impl UnwindSafe for ComputePipeline
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