texSubImage3D method

void texSubImage3D(
  1. dynamic target,
  2. dynamic level,
  3. dynamic xoffset,
  4. dynamic yoffset,
  5. dynamic zoffset,
  6. dynamic width,
  7. dynamic height,
  8. dynamic depth,
  9. dynamic format,
  10. dynamic type,
  11. dynamic pixels,
)

Implementation

void texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height,
    depth, format, type, pixels) {
  return gl.glTexSubImage3D(
      target,
      level,
      xoffset,
      yoffset,
      zoffset,
      width.toInt(),
      height.toInt(),
      depth,
      format,
      type,
      getData(pixels).cast<Void>());
}