[][src]Enum wgpu_core::command::ComputeCommand

pub enum ComputeCommand {
    SetBindGroup {
        index: u8,
        num_dynamic_offsets: u8,
        bind_group_id: BindGroupId,
        phantom_offsets: PhantomSlice<DynamicOffset>,
    },
    SetPipeline(ComputePipelineId),
    Dispatch([u32; 3]),
    DispatchIndirect {
        buffer_id: BufferId,
        offset: BufferAddress,
    },
    PushDebugGroup {
        color: u32,
        len: usize,
        phantom_marker: PhantomSlice<u8>,
    },
    PopDebugGroup,
    InsertDebugMarker {
        color: u32,
        len: usize,
        phantom_marker: PhantomSlice<u8>,
    },
    End,
}

Variants

SetBindGroup

Fields of SetBindGroup

index: u8num_dynamic_offsets: u8bind_group_id: BindGroupIdphantom_offsets: PhantomSlice<DynamicOffset>
SetPipeline(ComputePipelineId)
Dispatch([u32; 3])
DispatchIndirect

Fields of DispatchIndirect

buffer_id: BufferIdoffset: BufferAddress
PushDebugGroup

Fields of PushDebugGroup

color: u32len: usizephantom_marker: PhantomSlice<u8>
PopDebugGroup
InsertDebugMarker

Fields of InsertDebugMarker

color: u32len: usizephantom_marker: PhantomSlice<u8>
End

Trait Implementations

impl Clone for ComputeCommand[src]

impl Copy for ComputeCommand[src]

impl Debug for ComputeCommand[src]

impl Default for ComputeCommand[src]

impl Peek for ComputeCommand[src]

impl Poke for ComputeCommand[src]

impl Serialize for ComputeCommand[src]

Auto Trait Implementations

impl !RefUnwindSafe for ComputeCommand

impl Send for ComputeCommand

impl Sync for ComputeCommand

impl Unpin for ComputeCommand

impl UnwindSafe for ComputeCommand

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.