zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_Surface Struct Reference

A collection of pixels used in software blitting. More...

#include <SDL_surface.h>

Public Attributes

SDL_Rect clip_rect
 
Uint32 flags
 
SDL_PixelFormatformat
 
int h
 
voidlock_data
 
int locked
 
struct SDL_BlitMapmap
 
int pitch
 
voidpixels
 
int refcount
 
voiduserdata
 
int w
 

Detailed Description

A collection of pixels used in software blitting.

Note
This structure should be treated as read-only, except for pixels, which, if not NULL, contains the raw pixel data for the surface.

Definition at line 69 of file SDL_surface.h.

Member Data Documentation

void* SDL_Surface::lock_data

Read-only

Definition at line 82 of file SDL_surface.h.

int SDL_Surface::locked

information needed for surfaces requiring locks Read-only

Definition at line 81 of file SDL_surface.h.

Referenced by SDL_FreeSurface(), SDL_LockSurface(), SDL_UnlockSurface(), SDL_UpperBlit(), and SDL_UpperBlitScaled().

int SDL_Surface::refcount

Reference count – used when freeing surface Read-mostly

Definition at line 91 of file SDL_surface.h.

Referenced by SDL_CreateRGBSurface(), SDL_CreateSurfaceOnStack(), SDL_FreeSurface(), SDL_InvalidateMap(), and SDL_MapSurface().

void* SDL_Surface::userdata

Application data associated with the surface Read-write

Definition at line 78 of file SDL_surface.h.


The documentation for this struct was generated from the following file: