pub enum Dispatch {
Linear(usize),
Custom(u32, u32, u32),
}
Expand description
Defines a custom global_id manager, if Linear(n) is used, the index variable is automatically going to be available in the shader it will range from 0 to n excluded (max n : 2^32)
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dispatch
impl RefUnwindSafe for Dispatch
impl Send for Dispatch
impl Sync for Dispatch
impl Unpin for Dispatch
impl UnwindSafe for Dispatch
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