14 Jul 2017 SDL_Surface. A structure that contains a collection of pixels used in software blitting. Contents. SDL_Surface. Data Fields; Code Examples 4 Jul 2014 dst. the SDL_Surface structure that is the drawing target. rect. the SDL_Rect structure representing the rectangle to fill, or NULL to fill the entire 3 Nov 2018 This is a post about how to optimize your blitting and how to open images like PNGs in SDL2. This isn't a necessarily fun post, but it is antypedef struct SDL_Surface { Uint32 flags; /* Read-only */ SDL_PixelFormat *format; /* Read-only */ int w, h; /* Read-only */ Uint16 pitch; /* Read-only */ void 8 Oct 2016 Use this function to save a surface to a BMP file. Contents. SDL_SaveBMP. Syntax; Function Parameters; Return Value; Code Examples
Je moet lid zijn van Beter HBO om reacties te kunnen toevoegen!
Wordt lid van Beter HBO