SDL_Surface Struct Reference

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 * lock_data
SDL_Rect clip_rect
struct SDL_BlitMap * map
unsigned int format_version
int refcount


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.

Field Documentation

Read-only

Read-only

SDL_PixelFormat* format

Read-only

unsigned int format_version

Private

int h

Read-only

void* lock_data

Read-only

int locked

Read-only

struct SDL_BlitMap* map [read]

Private

int pitch

Read-only

void* pixels

Read-write

int refcount

Read-mostly

void* userdata

Read-write


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

Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8