This doesn’t work.
p = memoryview(self.imageTexture.modifyRamImage())
Responds with:
Not knowing what I am doing, I swapped it with …
p = memoryview(self.Spheres)
… which runs, but gives a really, really weird result:

That’s not even pixels. There’s squares and circles and the texture itself isn’t even filled as a whole,
but has a huge black part right in the bottom half.
I’ve tried mixing with bytes, which produces equally corrupt results,
one of them even having actual text in it. Numbers I have no idea where they’re from.
self.Spheres = numpy.zeros(1024*1024, numpy.uint8)
for x in xrange(0,1024*1024):
self.Spheres[x] = 1.0;
self.imageTexture = Texture("image")
self.imageTexture.setup2dTexture(1024, 1024, Texture.TUnsignedByte , Texture.F_rgb)
p = memoryview(self.Spheres)
print len(p)
Please note that it does not matter if I use uint8, float32, TUnsignedByte, TFloat, F_rgb, F_red
and as written above, memoryview on the imageTexture does not work at all.
Well … almost. Using F_red I only get a random static of red and black,
with all kinds of attempts (bytes, floats, etc etc.) which still doesn’t fit, considering I’m filling it with 1.0.