texImage2D

abstract fun texImage2D(    target: Int,     level: Int,     internalformat: Int,     width: Int,     height: Int,     border: Int,     format: Int,     type: Int,     pixels: ArrayBufferView?)(source)
abstract fun texImage2D(target: Int, level: Int, internalformat: Int, format: Int, type: Int, source: TexImageSource?)(source)

Since Kotlin

1.1