SDL 2.0
|
A collection of pixels used in software blitting. More...
#include <SDL_surface.h>
Data Fields | |
Uint32 | flags |
SDL_PixelFormat * | format |
int | w |
int | h |
int | pitch |
void * | pixels |
void * | userdata |
int | locked |
void * | list_blitmap |
SDL_Rect | clip_rect |
SDL_BlitMap * | map |
int | refcount |
A collection of pixels used in software blitting.
pixels
, which, if not NULL, contains the raw pixel data for the surface. Definition at line 72 of file SDL_surface.h.
SDL_Rect SDL_Surface::clip_rect |
clipping information Read-only
Definition at line 90 of file SDL_surface.h.
Uint32 SDL_Surface::flags |
Read-only
Definition at line 74 of file SDL_surface.h.
SDL_PixelFormat* SDL_Surface::format |
Read-only
Definition at line 75 of file SDL_surface.h.
int SDL_Surface::h |
Read-only
Definition at line 76 of file SDL_surface.h.
void* SDL_Surface::list_blitmap |
list of BlitMap that hold a reference to this surface Private
Definition at line 87 of file SDL_surface.h.
int SDL_Surface::locked |
information needed for surfaces requiring locks Read-only
Definition at line 84 of file SDL_surface.h.
SDL_BlitMap* SDL_Surface::map |
info for fast blit mapping to other surfaces Private
Definition at line 93 of file SDL_surface.h.
int SDL_Surface::pitch |
Read-only
Definition at line 77 of file SDL_surface.h.
void* SDL_Surface::pixels |
Read-write
Definition at line 78 of file SDL_surface.h.
int SDL_Surface::refcount |
Reference count – used when freeing surface Read-mostly
Definition at line 96 of file SDL_surface.h.
void* SDL_Surface::userdata |
Application data associated with the surface Read-write
Definition at line 81 of file SDL_surface.h.
int SDL_Surface::w |
Definition at line 76 of file SDL_surface.h.