glTexImage2D - part-cw/lambdanative GitHub Wiki
(glTexImage2D target level internalFormat width height border format type data)
glTexImage2D specifies a two-dimensional texture image.
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.