sdl surface fetching pixel values
Hi, Could someone explain how to retrieve the pixel values out of an sdl_Surface? cheers, Scott
RTFM?
Click here for the Doc project, and scroll down and look for SDL_GetRGB. It might help, although i have never used it so i dont know. You probably could find some more on it with a bit more digging - i just skimmed descriptions.
Click here for the Doc project, and scroll down and look for SDL_GetRGB. It might help, although i have never used it so i dont know. You probably could find some more on it with a bit more digging - i just skimmed descriptions.
gib.son
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement