texImage2D method
void
texImage2D()
Implementation
void texImage2D(
int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
NativeArray? pixels
) {
startCheck('texImage2D');
gl.glTexImage2D(target, level, internalformat, width, height, border, format, type,pixels?.data?? nullptr);
checkError('texImage2D');
}