SDL_gpu
0.11.0
A hardware-accelerated, cross-platform 2D graphics API
|
DECLSPEC GPU_Image *SDLCALL | GPU_CopyImageFromSurface (SDL_Surface *surface) |
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_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.