Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

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.

Clone this wiki locally