This method sets the image data of a texture.
Parameter | Description |
---|---|
pixels | pixel data to set |
miplevel | the mipmap level to set |
face | texture layer or cubemap face |
The provided pixmap must use the same format as the texture, and have the same dimensions as the specified miplevel.