docs/man3/SDL_VideoInfo.3
author Sam Lantinga <slouken@libsdl.org>
Wed, 08 Mar 2006 18:30:12 +0000
changeset 1486 9d77fc9d0ace
parent 181 e5bc29de3f0a
child 2283 546f7c1eb755
permissions -rw-r--r--
Re-added C runtime support for Visual C++ 5,6
slouken@181
     1
.TH "SDL_VideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
slouken@0
     2
.SH "NAME"
slouken@0
     3
SDL_VideoInfo\- Video Target information
slouken@0
     4
.SH "STRUCTURE DEFINITION"
slouken@0
     5
.PP
slouken@0
     6
.nf
slouken@0
     7
\f(CWtypedef struct{
slouken@0
     8
  Uint32 hw_available:1;
slouken@0
     9
  Uint32 wm_available:1;
slouken@0
    10
  Uint32 blit_hw:1;
slouken@0
    11
  Uint32 blit_hw_CC:1;
slouken@0
    12
  Uint32 blit_hw_A:1;
slouken@0
    13
  Uint32 blit_sw:1;
slouken@0
    14
  Uint32 blit_sw_CC:1;
slouken@0
    15
  Uint32 blit_sw_A:1;
slouken@0
    16
  Uint32 blit_fill;
slouken@0
    17
  Uint32 video_mem;
slouken@0
    18
  SDL_PixelFormat *vfmt;
slouken@0
    19
} SDL_VideoInfo;\fR
slouken@0
    20
.fi
slouken@0
    21
.PP
slouken@0
    22
.SH "STRUCTURE DATA"
slouken@0
    23
.TP 20
slouken@0
    24
\fBhw_available\fR
slouken@0
    25
Is it possible to create hardware surfaces?
slouken@0
    26
.TP 20
slouken@0
    27
\fBwm_available\fR
slouken@0
    28
Is there a window manager available
slouken@0
    29
.TP 20
slouken@0
    30
\fBblit_hw\fR
slouken@0
    31
Are hardware to hardware blits accelerated?
slouken@0
    32
.TP 20
slouken@0
    33
\fBblit_hw_CC\fR
slouken@0
    34
Are hardware to hardware colorkey blits accelerated?
slouken@0
    35
.TP 20
slouken@0
    36
\fBblit_hw_A\fR
slouken@0
    37
Are hardware to hardware alpha blits accelerated?
slouken@0
    38
.TP 20
slouken@0
    39
\fBblit_sw\fR
slouken@0
    40
Are software to hardware blits accelerated?
slouken@0
    41
.TP 20
slouken@0
    42
\fBblit_sw_CC\fR
slouken@0
    43
Are software to hardware colorkey blits accelerated?
slouken@0
    44
.TP 20
slouken@0
    45
\fBblit_sw_A\fR
slouken@0
    46
Are software to hardware alpha blits accelerated?
slouken@0
    47
.TP 20
slouken@0
    48
\fBblit_fill\fR
slouken@0
    49
Are color fills accelerated?
slouken@0
    50
.TP 20
slouken@0
    51
\fBvideo_mem\fR
slouken@0
    52
Total amount of video memory in Kilobytes
slouken@0
    53
.TP 20
slouken@0
    54
\fBvfmt\fR
slouken@0
    55
\fIPixel format\fR of the video device
slouken@0
    56
.SH "DESCRIPTION"
slouken@0
    57
.PP
slouken@0
    58
This (read-only) structure is returned by \fI\fBSDL_GetVideoInfo\fP\fR\&. It contains information on either the \&'best\&' available mode (if called before \fI\fBSDL_SetVideoMode\fP\fR) or the current video mode\&.
slouken@0
    59
.SH "SEE ALSO"
slouken@0
    60
.PP
slouken@0
    61
\fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_GetVideoInfo\fP\fR
slouken@181
    62
...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01