OSDN Git Service

SDL_GetTicks64 新規追加 https://github.com/libsdl-org/sdlwiki/commit/62f3fe10c4276217c8aa...
[sdl2referencejp/sdl2referencejp.git] / SDL_GetTicks64.html
diff --git a/SDL_GetTicks64.html b/SDL_GetTicks64.html
new file mode 100644 (file)
index 0000000..d2418c5
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="ja-JP">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<meta name="keywords" content="Simple Directmedia Layer SDL2.0">
+<link rel="top" href="index.html" title="\83z\81[\83\80">
+<link rel="parent" href="CategoryTimer.html" title="1\82Â\8fã">
+<title>SDL_GetTicks64</title>
+</head>
+<body>
+<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
+<hr>
+<h1>SDL_GetTicks64</h1>
+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é
+<h2>\8d\\95¶</h2>
+<code>Uint32 SDL_GetTicks64(void)</code>
+<h2>\96ß\82è\92l</h2>
+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·.
+<h2>\8fÚ\8d×</h2>
+<p>
+<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Æ.
+\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é.
+64\83r\83b\83g\82È\82ç\82Î\88À\91S\82É\92¼\90Ú\94ä\8ar\82Å\82«\82é.
+</p>
+<p>
+For example, if you want to wait 100 ms, you could do this:
+\97á\82¦\82Î100\83~\83\8a\95b\91Ò\82¿\82½\82¢\82È\82ç\82Î\8e\9f\82Ì\82æ\82¤\82É\82Å\82«\82é:
+</p>
+<p>
+<code>
+<pre>
+const Uint64 timeout = SDL_GetTicks64() + 100;
+while (SDL_GetTicks64() < timeout) {
+    // ... \83^\83C\83\80\83A\83E\83g\82Ü\82Å\8dì\8bÆ\82·\82é
+}
+</pre>
+</code>
+</p>
+<h2>\83o\81[\83W\83\87\83\93</h2>
+SDL 2.0.18\88È\8d~
+<h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
+<a href="https://wiki.libsdl.org/SDL_GetTicks64">SDL_GetTicks64 - SDL Wiki</a>
+<hr>
+</body>
+</html>