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

pub struct CmdUpdateBuffer<B, D> { /* fields omitted */ }

Command that sets the content of a buffer to some data.

Methods

impl<B, D> CmdUpdateBuffer<B, D>
[src]

Builds a command that writes data to a buffer.

If the size of the data and the size of the buffer mismatch, then only the intersection of both will be written.

The size of the modification must not exceed 65536 bytes. The offset and size must be multiples of four.

Same as new, except that the parameter is a BufferAccess instead of a Buffer.

Same as from_access, except that type safety is not enforced.

Returns the buffer that is going to be written.

Trait Implementations

impl<B, D> DeviceOwned for CmdUpdateBuffer<B, D> where
    B: DeviceOwned
[src]

Returns the device that owns Self.