hello there,
I'm looking for a way to access the raw pixel data of a sprite. (getting a pointer or a buffer which i can manipulate to do some per pixel caluclations).
for my particular case this has not to be fast - it will not run in real time so I could live with some lack of performance as the manipulation would only take place once in a while.
which is the best way to achieve this? subclassing the texture class and adding some opengl-voodoo? or just creating new sprites from the pixels stored in the buffer whenever I need an updated texture?
any idea to do it fast? (just in case I should ever need this realtime'ish)