texSubImage2DNoSize method

void texSubImage2DNoSize(
  1. int target,
  2. int level,
  3. int x,
  4. int y,
  5. int glFormat,
  6. int glType,
  7. dynamic data,
)

Implementation

void texSubImage2DNoSize(int target, int level, int x, int y, int glFormat, int glType, data) {
  if (kIsWeb) {
    gl.texSubImage2D_NOSIZE(target, level, x, y, glFormat, glType, data);
  }
  else {
    gl.texSubImage2D(target, level, 0, 0, x, y, glFormat, glType, data);
  }
}