#include <SDL_video.h>
Data Fields | |
| Uint32 | flags |
| SDL_PixelFormat * | format |
| int | w |
| int | h |
| Uint16 | pitch |
| void * | pixels |
| int | offset |
| struct private_hwdata * | hwdata |
| SDL_Rect | clip_rect |
| Uint32 | unused1 |
| Uint32 | locked |
| struct SDL_BlitMap * | map |
| unsigned int | format_version |
| int | refcount |
| SDL_Rect clip_rect |
clipping information Read-only
| Uint32 flags |
Read-only
Read-only
| unsigned int format_version |
format version, bumped at every change to invalidate blit maps Private
| int h |
Read-only
struct private_hwdata* hwdata [read] |
Hardware-specific surface info
| Uint32 locked |
Allow recursive locks Private
struct SDL_BlitMap* map [read] |
info for fast blit mapping to other surfaces Private
| int offset |
Private
| Uint16 pitch |
Read-only
| void* pixels |
Read-write
| int refcount |
Reference count -- used when freeing surface Read-mostly
| Uint32 unused1 |
for binary compatibility
1.5.8