glTexSubImage2D - part-cw/lambdanative GitHub Wiki

(glTexSubImage2D target level internalFormat width height border format type data)

glTexSubImage2D specifies a two-dimensional texture subimage.

Note: Unknown if this really works!

Parameter Description
target Target texture
level Level-of-detail number
internalFormat Number of color components in the texture
width Width of the texture image
height Height of the texture image
border Width of the border
format Format of the pixel data
type Data type of the pixel data
data Pointer to the image data in memory

Example

None provided.