pub struct Compute<'a, P> where
P: SharedPointerKind, { /* private fields */ }Implementations
sourceimpl<'a, P> Compute<'a, P> where
P: SharedPointerKind,
impl<'a, P> Compute<'a, P> where
P: SharedPointerKind,
pub fn dispatch(
&self,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> &Self
pub fn dispatch_base(
&self,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> &Self
pub fn dispatch_indirect(
&self,
args_buf: impl Into<AnyBufferNode<P>>,
args_offset: DeviceSize
) -> &Self
pub fn push_constants(&self, data: &[u8]) -> &Self
pub fn push_constants_offset(&self, offset: u32, data: &[u8]) -> &Self
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for Compute<'a, P>
impl<'a, P> !Send for Compute<'a, P>
impl<'a, P> !Sync for Compute<'a, P>
impl<'a, P> Unpin for Compute<'a, P> where
P: Unpin,
impl<'a, P> !UnwindSafe for Compute<'a, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more