arsa  2.7
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
 
voidpixels
 
voiduserdata
 
int locked
 
voidlock_data
 
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.

Definition at line 70 of file SDL_surface.h.

Member Data Documentation

◆ clip_rect

SDL_Rect SDL_Surface::clip_rect

clipping information Read-only

Definition at line 86 of file SDL_surface.h.

◆ flags

Uint32 SDL_Surface::flags

Read-only

Definition at line 72 of file SDL_surface.h.

◆ format

SDL_PixelFormat* SDL_Surface::format

Read-only

Definition at line 73 of file SDL_surface.h.

◆ h

int SDL_Surface::h

Read-only

Definition at line 74 of file SDL_surface.h.

◆ lock_data

void* SDL_Surface::lock_data

Read-only

Definition at line 83 of file SDL_surface.h.

◆ locked

int SDL_Surface::locked

information needed for surfaces requiring locks Read-only

Definition at line 82 of file SDL_surface.h.

◆ map

struct SDL_BlitMap* SDL_Surface::map

info for fast blit mapping to other surfaces Private

Definition at line 89 of file SDL_surface.h.

◆ pitch

int SDL_Surface::pitch

Read-only

Definition at line 75 of file SDL_surface.h.

◆ pixels

void* SDL_Surface::pixels

Read-write

Definition at line 76 of file SDL_surface.h.

◆ refcount

int SDL_Surface::refcount

Reference count – used when freeing surface Read-mostly

Definition at line 92 of file SDL_surface.h.

◆ userdata

void* SDL_Surface::userdata

Application data associated with the surface Read-write

Definition at line 79 of file SDL_surface.h.

◆ w

int SDL_Surface::w

Definition at line 74 of file SDL_surface.h.


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