glTexSubImage2D method

void glTexSubImage2D(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int yoffset,
  5. int width,
  6. int height,
  7. int format,
  8. int type,
  9. Pointer<Void> pixels,
)

Implementation

void glTexSubImage2D(
  int target,
  int level,
  int xoffset,
  int yoffset,
  int width,
  int height,
  int format,
  int type,
  ffi.Pointer<ffi.Void> pixels,
) {
  return (_glTexSubImage2D ??=
      _dylib.lookupFunction<_c_glTexSubImage2D, _dart_glTexSubImage2D>(
          'glTexSubImage2D'))(
    target,
    level,
    xoffset,
    yoffset,
    width,
    height,
    format,
    type,
    pixels,
  );
}