|
My Project
|
| DECLSPEC GPU_Image *SDLCALL | GPU_CopyImageFromSurface (SDL_Surface *surface) |
| DECLSPEC GPU_Image *SDLCALL | GPU_CopyImageFromSurfaceRect (SDL_Surface *surface, GPU_Rect *surface_rect) |
| DECLSPEC GPU_Image *SDLCALL | GPU_CopyImageFromTarget (GPU_Target *target) |
| DECLSPEC SDL_Surface *SDLCALL | GPU_CopySurfaceFromTarget (GPU_Target *target) |
| DECLSPEC SDL_Surface *SDLCALL | GPU_CopySurfaceFromImage (GPU_Image *image) |
| DECLSPEC GPU_Image *SDLCALL GPU_CopyImageFromSurface | ( | SDL_Surface * | surface | ) |
Copy SDL_Surface data into a new GPU_Image. Don't forget to SDL_FreeSurface() the surface and GPU_FreeImage() the image.
| DECLSPEC GPU_Image *SDLCALL GPU_CopyImageFromSurfaceRect | ( | SDL_Surface * | surface, |
| GPU_Rect * | surface_rect | ||
| ) |
Like GPU_CopyImageFromSurface but enable to copy only part of the surface.
| DECLSPEC GPU_Image *SDLCALL GPU_CopyImageFromTarget | ( | GPU_Target * | target | ) |
Copy GPU_Target data into a new GPU_Image. Don't forget to GPU_FreeImage() the image.
| DECLSPEC SDL_Surface *SDLCALL GPU_CopySurfaceFromImage | ( | GPU_Image * | image | ) |
Copy GPU_Image data into a new SDL_Surface. Don't forget to SDL_FreeSurface() the surface and GPU_FreeImage() the image.
| DECLSPEC SDL_Surface *SDLCALL GPU_CopySurfaceFromTarget | ( | GPU_Target * | target | ) |
Copy GPU_Target data into a new SDL_Surface. Don't forget to SDL_FreeSurface() the surface.