gl.DrawPixels(width, height, format, pixelsArray)
Note that gl.DrawPixels()
expects data of type #GL_FLOAT
inside the pixelsArray
table.
See gl.DrawPixelsRaw for more details on the parameters accepted by this function.
Please consult an OpenGL reference manual for more information.
#GL_FLOAT