Skip to main content

write_owned

Function write_owned 

Source
pub fn write_owned<E: CubeElement>(
    client: &Client,
    handle: &Handle,
    data: Vec<E>,
)
Expand description

write taking ownership of data: the bytes move into the transfer without a copy (useful when the buffer was filled on another thread, e.g. a read-ahead loader).