texImage2D

abstract fun texImage2D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, type: Int)
open fun texImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, type: DataType)
abstract fun texImage2D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, type: Int, source: ByteBuffer)
open fun texImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, type: DataType, source: ByteBuffer)