How to access the address of the pixel buffer
Posted: Feb 1, 2008 @ 8:42pm
I want to manipulate pixels directly, not via GetPixel or PutPixel. How can I access the pixel buffer address? I thought maybe the nativesurf pointer was it but that is private so I cant get to it.
Am I missing something? I assume that I can manipulate a surface in this way because GetInfo() provides the pitch, etc.
Thank you
Am I missing something? I assume that I can manipulate a surface in this way because GetInfo() provides the pitch, etc.
Thank you