SDL_VideoInfo Struct Reference

#include <SDL_video.h>


Data Fields

Uint32 hw_available:1
Uint32 wm_available:1
Uint32 UnusedBits1:6
Uint32 UnusedBits2:1
Uint32 blit_hw:1
Uint32 blit_hw_CC:1
Uint32 blit_hw_A:1
Uint32 blit_sw:1
Uint32 blit_sw_CC:1
Uint32 blit_sw_A:1
Uint32 blit_fill:1
Uint32 UnusedBits3:16
Uint32 video_mem
SDL_PixelFormatvfmt
int current_w
int current_h


Detailed Description

Useful for determining the video hardware capabilities

Field Documentation

Uint32 blit_fill

Flag: Accelerated color fill

Uint32 blit_hw

Flag: Accelerated blits HW --> HW

Uint32 blit_hw_A

Flag: Accelerated blits with Alpha

Uint32 blit_hw_CC

Flag: Accelerated blits with Colorkey

Uint32 blit_sw

Flag: Accelerated blits SW --> HW

Uint32 blit_sw_A

Flag: Accelerated blits with Alpha

Uint32 blit_sw_CC

Flag: Accelerated blits with Colorkey

int current_h

Value: The current video mode height

int current_w

Value: The current video mode width

Uint32 hw_available

Flag: Can you create hardware surfaces?

Value: The format of the video surface

Uint32 video_mem

The total amount of video memory (in K)

Uint32 wm_available

Flag: Can you talk to a window manager?


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

Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8