Function mallumo_gls::raw::named_buffer_sub_data [] [src]

pub unsafe fn named_buffer_sub_data<T>(
    buffer_id: BufferId,
    offset: isize,
    data: &[T]
) -> Result<(), Error>

Copies data from slice to GPU memory pointer by buffer

Arguments

  • id - id of the buffer
  • offset - offset into buffer where to copy
  • data - slice of data to copy