Skip to main content

upload

Function upload 

Source
pub fn upload<E: CubeElement>(client: &Client, data: &[E]) -> Handle
Expand description

Device copy of data.

ยงPanics

If data holds more than MAX_DEVICE_ELEMENTS elements (see bytes).