OSDN Git Service

SDL_Rect サンプルコードを修正 コピー先のwとhは無視されるため0とした https://github.com/libsdl-org/sdlwiki/commit...
[sdl2referencejp/sdl2referencejp.git] / SDL_GetTicks64.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
7 <link rel="top" href="index.html" title="\83z\81[\83\80">
8 <link rel="parent" href="CategoryTimer.html" title="1\82Â\8fã">
9 <title>SDL_GetTicks64</title>
10 </head>
11 <body>
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryTimer.html">\83^\83C\83}</a> - SDL_GetTicks64
13 <hr>
14 <h1>SDL_GetTicks64</h1>
15 SDL\82ª\8f\89\8aú\89»\82³\82ê\82Ä\82©\82ç\8co\89ß\82µ\82½\8e\9e\8aÔ\82ð\83~\83\8a\95b\82Å\93¾\82é
16 <h2>\8d\\95¶</h2>
17 <code>Uint32 SDL_GetTicks64(void)</code>
18 <h2>\96ß\82è\92l</h2>
19 SDL\82ª\8f\89\8aú\89»\82³\82ê\82Ä\82©\82ç\8co\89ß\82µ\82½\8e\9e\8aÔ\82ð64bit\95\84\8d\86\82È\82µ\90®\90\94\82Å\96ß\82·.
20 <h2>\8fÚ\8d×</h2>
21 <p>
22 <a href="SDL_TICKS_PASSED.html">SDL_TICKS_PASSED</a>\83}\83N\83\8d\82ð\82±\82Ì\8aÖ\90\94\82Ì\96ß\82è\92l\82É\82Í\8eg\82Á\82Ä\82Í\82È\82ç\82È\82¢\82Ì\82Å\92\8d\88Ó\82·\82é\82±\82Æ.
23 \82±\82Ì\83}\83N\83\8d\82Í<a href="SDL_GetTicks.html">SDL_GetTicks()</a>\82Ì49\93ú\82²\82Æ\82Ì32\83r\83b\83g\83I\81[\83o\81[\83t\83\8d\81[\82ð\8dI\96­\82È\95û\96@\82ð\97p\82¢\82Ä\89ñ\94ð\82µ\82Ä\82¢\82é\82½\82ß\82Å\82 \82é.
24 64\83r\83b\83g\82È\82ç\82Î\88À\91S\82É\92¼\90Ú\94ä\8ar\82Å\82«\82é.
25 </p>
26 <p>
27 For example, if you want to wait 100 ms, you could do this:
28 \97á\82¦\82Î100\83~\83\8a\95b\91Ò\82¿\82½\82¢\82È\82ç\82Î\8e\9f\82Ì\82æ\82¤\82É\82Å\82«\82é:
29 </p>
30 <p>
31 <code>
32 <pre>
33 const Uint64 timeout = SDL_GetTicks64() + 100;
34 while (SDL_GetTicks64() < timeout) {
35     // ... \83^\83C\83\80\83A\83E\83g\82Ü\82Å\8dì\8bÆ\82·\82é
36 }
37 </pre>
38 </code>
39 </p>
40 <h2>\83o\81[\83W\83\87\83\93</h2>
41 SDL 2.0.18\88È\8d~
42 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
43 <a href="https://wiki.libsdl.org/SDL_GetTicks64">SDL_GetTicks64 - SDL Wiki</a>
44 <hr>
45 </body>
46 </html>