I am making a function which takes a texture and outputs it's contents as a float array (for debugging only. I know its slow).
For this I need to get the width and height of the texture. (to create a float array which has the same size as the texture).
OpenGl uses this:http://www.opengl.org/sdk/docs/man/x...lParameter.xml,
but that does not seem to work in webgl.