texSubImage2D method

void texSubImage2D(
  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. NativeArray<num>? pixels,
)

Implementation

void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, NativeArray? pixels){
  startCheck('texSubImage2D');
  gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type,pixels?.data ?? nullptr);
  checkError('texImage2D');
}