Describes a write operation into a buffer from CPU memory into
a buffer object. Parameter of the sg_write_buffer_*() functions.
.src
Defines the location of the source data in CPU memory.
See documentation of the struct sg_write_buffer_source for details.
.dst
Defines the destination buffer object and offset into the buffer's
memory.
.size
Number of bytes to be copied. When this is default-zero, the
size will be taken from .src.data.size instead.
sg_write_buffer_desc
Describes a write operation into a buffer from CPU memory into a buffer object. Parameter of the sg_write_buffer_*() functions.
.src Defines the location of the source data in CPU memory. See documentation of the struct sg_write_buffer_source for details. .dst Defines the destination buffer object and offset into the buffer's memory. .size Number of bytes to be copied. When this is default-zero, the size will be taken from .src.data.size instead.