[−][src]Function mallumo_gls::raw::named_buffer_sub_data
pub unsafe fn named_buffer_sub_data<T>(
buffer_id: BufferId,
offset: usize,
data: &[T]
) -> Result<(), Error>
Copies data from slice to GPU memory pointer by buffer
Arguments
id
- id of the bufferoffset
- offset into buffer where to copydata
- slice of data to copy