My Project
Public Attributes | List of all members
SDL_Surface Struct Reference

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

#include <SDL_surface.h>

Public Attributes

Uint32 flags
 
SDL_PixelFormatformat
 
int w
 
int h
 
int pitch
 
void * pixels
 
void * userdata
 
int locked
 
void * list_blitmap
 
SDL_Rect clip_rect
 
struct SDL_BlitMap * map
 
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.

Member Data Documentation

◆ clip_rect

SDL_Rect SDL_Surface::clip_rect

clipping information Read-only

◆ flags

Uint32 SDL_Surface::flags

Read-only

◆ format

SDL_PixelFormat* SDL_Surface::format

Read-only

◆ h

int SDL_Surface::h

Read-only

◆ list_blitmap

void* SDL_Surface::list_blitmap

list of BlitMap that hold a reference to this surface Private

◆ locked

int SDL_Surface::locked

information needed for surfaces requiring locks Read-only

◆ map

struct SDL_BlitMap* SDL_Surface::map

info for fast blit mapping to other surfaces Private

◆ pitch

int SDL_Surface::pitch

Read-only

◆ pixels

void* SDL_Surface::pixels

Read-write

◆ refcount

int SDL_Surface::refcount

Reference count – used when freeing surface Read-mostly

◆ userdata

void* SDL_Surface::userdata

Application data associated with the surface Read-write


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