Struct vulkano::command_buffer::commands_raw::CmdCopyBuffer [] [src]

pub struct CmdCopyBuffer<S, D> { /* fields omitted */ }

Command that copies from a buffer to another.

Methods

impl<S, D> CmdCopyBuffer<S, D> where
    S: BufferAccess,
    D: BufferAccess
[src]

Builds a new command.

This command will copy from the source to the destination. If their size is not equal, then the amount of data copied is equal to the smallest of the two.

Panic

  • Panics if the source and destination were not created with the same device.

impl<S, D> CmdCopyBuffer<S, D>
[src]

Returns the source buffer.

Returns the destination buffer.

Trait Implementations

impl<S, D> DeviceOwned for CmdCopyBuffer<S, D> where
    S: DeviceOwned
[src]

Returns the device that owns Self.