texImage2D method
dynamic
texImage2D(
- dynamic target,
- dynamic level,
- dynamic internalformat,
- dynamic width,
- dynamic height,
- dynamic border,
- dynamic format,
- dynamic type,
- 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));
}