SDL_Flip.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_Flip" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_Flip- Swaps screen buffers
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_FlipfPfR(fBSDL_Surface *screenfR);
- .SH "DESCRIPTION"
- .PP
- On hardware that supports double-buffering, this function sets up a flip and returns&. The hardware will wait for vertical retrace, and then swap video buffers before the next video surface blit or lock will return&. On hardware that doesn&'t support double-buffering, this is equivalent to calling fISDL_UpdateRectfRfB(screen, 0, 0, 0, 0)fR
- .PP
- The fBSDL_DOUBLEBUFfP flag must have been passed to fISDL_SetVideoModefR, when setting the video mode for this function to perform hardware flipping&.
- .SH "RETURN VALUE"
- .PP
- This function returns fB0fR if successful, or fB-1fR if there was an error&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_SetVideoModefPfR, fIfBSDL_UpdateRectfPfR, fIfBSDL_SurfacefRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01