Struct vulkano::command_buffer::BufferCopy
source · pub struct BufferCopy {
pub src_offset: DeviceSize,
pub dst_offset: DeviceSize,
pub size: DeviceSize,
pub _ne: NonExhaustive,
}
Expand description
A region of data to copy between buffers.
Fields§
§src_offset: DeviceSize
The offset in bytes or elements from the start of src_buffer
that copying will
start from.
The default value is 0
.
dst_offset: DeviceSize
The offset in bytes or elements from the start of dst_buffer
that copying will
start from.
The default value is 0
.
size: DeviceSize
The number of bytes or elements to copy.
The default value is 0
, which must be overridden.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for BufferCopy
impl Clone for BufferCopy
source§fn clone(&self) -> BufferCopy
fn clone(&self) -> BufferCopy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more