[][src]Enum wgpu_core::device::trace::Command

pub enum Command {
    CopyBufferToBuffer {
        src: BufferId,
        src_offset: BufferAddress,
        dst: BufferId,
        dst_offset: BufferAddress,
        size: BufferAddress,
    },
    CopyBufferToTexture {
        src: BufferCopyView,
        dst: TextureCopyView,
        size: Extent3d,
    },
    CopyTextureToBuffer {
        src: TextureCopyView,
        dst: BufferCopyView,
        size: Extent3d,
    },
    CopyTextureToTexture {
        src: TextureCopyView,
        dst: TextureCopyView,
        size: Extent3d,
    },
    RunComputePass {
        commands: Vec<ComputeCommand>,
        dynamic_offsets: Vec<DynamicOffset>,
    },
    RunRenderPass {
        target_colors: Vec<RenderPassColorAttachmentDescriptor>,
        target_depth_stencil: Option<RenderPassDepthStencilAttachmentDescriptor>,
        commands: Vec<RenderCommand>,
        dynamic_offsets: Vec<DynamicOffset>,
    },
}

Variants

CopyBufferToBuffer

Fields of CopyBufferToBuffer

src: BufferIdsrc_offset: BufferAddressdst: BufferIddst_offset: BufferAddresssize: BufferAddress
CopyBufferToTexture

Fields of CopyBufferToTexture

src: BufferCopyViewdst: TextureCopyViewsize: Extent3d
CopyTextureToBuffer

Fields of CopyTextureToBuffer

src: TextureCopyViewdst: BufferCopyViewsize: Extent3d
CopyTextureToTexture

Fields of CopyTextureToTexture

src: TextureCopyViewdst: TextureCopyViewsize: Extent3d
RunComputePass

Fields of RunComputePass

commands: Vec<ComputeCommand>dynamic_offsets: Vec<DynamicOffset>
RunRenderPass

Fields of RunRenderPass

target_colors: Vec<RenderPassColorAttachmentDescriptor>target_depth_stencil: Option<RenderPassDepthStencilAttachmentDescriptor>commands: Vec<RenderCommand>dynamic_offsets: Vec<DynamicOffset>

Trait Implementations

impl Debug for Command[src]

impl Serialize for Command[src]

Auto Trait Implementations

impl !RefUnwindSafe for Command

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

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, 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.