texImage2D method

dynamic texImage2D(
  1. dynamic target,
  2. dynamic level,
  3. dynamic internalformat,
  4. dynamic width,
  5. dynamic height,
  6. dynamic border,
  7. dynamic format,
  8. dynamic type,
  9. dynamic data,
)

Implementation

texImage2D(target, level, internalformat, width, height, border, format, type,
    data) {
  return gl.texImage2D(target, level, internalformat, width, height, border,
      format, type, getData(data));
}