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...