pub struct Compute<'a> { /* private fields */ }Implementations
sourceimpl<'a> Compute<'a>
impl<'a> Compute<'a>
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>,
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> !RefUnwindSafe for Compute<'a>
impl<'a> !Send for Compute<'a>
impl<'a> !Sync for Compute<'a>
impl<'a> Unpin for Compute<'a>
impl<'a> !UnwindSafe for Compute<'a>
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