1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
\r
5 <meta http-equiv="Content-Style-Type" content="text/css">
\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
\r
7 <link rel="top" href="../index.html" title="
\83z
\81[
\83\80">
\r
8 <link rel="parent" href="./index.html" title="1
\82Â
\8fã">
\r
9 <title>SDL2.0
\93ú
\96{
\8cê
\83\8a\83t
\83@
\83\8c\83\93\83X -
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E</title>
\r
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="sdl2-api.html">API(
\8b@
\94\
\95Ê)</a> -
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E
\r
13 <h1>
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E</h1>
\r
14 \83C
\83\93\83N
\83\8b\81[
\83h
\83t
\83@
\83C
\83\8b: SDL_video.h
\r
16 \82±
\82ê
\82ç
\82Ì
\8aÖ
\90\94\82Í
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E
\82ð
\88µ
\82¤
\82½
\82ß
\82Ì
\82à
\82Ì
\82Å
\82 \82é.
\r
17 <h2>
\97ñ
\8b\93\91Ì</h2>
\r
19 <li><a href="#SDL_BlendMode">SDL_BlendMode</a></li>
\r
20 <li><a href="#SDL_GLattr">SDL_GLattr</a></li>
\r
21 <li><a href="#SDL_GLcontextFlag">SDL_GLcontextFlag</a></li>
\r
22 <li><a href="#SDL_GLprofile">SDL_GLprofile</a></li>
\r
23 <li><a href="#SDL_WindowEventID">SDL_WindowEventID</a></li>
\r
24 <li><a href="#SDL_WindowFlags">SDL_WindowFlags</a></li>
\r
26 <h2>
\8d\
\91¢
\91Ì</h2>
\r
28 <li><a href="#SDL_DisplayMode">SDL_DisplayMode</a></li>
\r
29 <li><a href="#SDL_WindowEvent">SDL_WindowEvent</a></li>
\r
33 <li><a href="#SDL_CreateWindow">SDL_CreateWindow</a></li>
\r
34 <li><a href="#SDL_CreateWindowAndRenderer">SDL_CreateWindowAndRenderer</a></li>
\r
35 <li><a href="#SDL_CreateWindowFrom">SDL_CreateWindowFrom</a></li>
\r
36 <li><a href="#SDL_DestroyWindow">SDL_DestroyWindow</a></li>
\r
37 <li><a href="#SDL_DisableScreenSaver">SDL_DisableScreenSaver</a></li>
\r
38 <li><a href="#SDL_EnableScreenSaver">SDL_EnableScreenSaver</a></li>
\r
39 <li><a href="#SDL_GL_BindTexture">SDL_GL_BindTexture</a></li>
\r
40 <li><a href="#SDL_GL_CreateContext">SDL_GL_CreateContext</a></li>
\r
41 <li><a href="#SDL_GL_DeleteContext">SDL_GL_DeleteContext</a></li>
\r
42 <li><a href="#SDL_GL_ExtensionSupported">SDL_GL_ExtensionSupported</a></li>
\r
43 <li><a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a></li>
\r
44 <li><a href="#SDL_GL_GetCurrentContext">SDL_GL_GetCurrentContext</a></li>
\r
45 <li><a href="#SDL_GL_GetCurrentWindow">SDL_GL_GetCurrentWindow</a></li>
\r
46 <li><a href="#SDL_GL_GetDrawableSize">SDL_GL_GetDrawableSize</a></li>
\r
47 <li><a href="#SDL_GL_GetProcAddress">SDL_GL_GetProcAddress</a></li>
\r
48 <li><a href="#SDL_GL_GetSwapInterval">SDL_GL_GetSwapInterval</a></li>
\r
49 <li><a href="#SDL_GL_LoadLibrary">SDL_GL_LoadLibrary</a></li>
\r
50 <li><a href="#SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a></li>
\r
51 <li><a href="#SDL_GL_ResetAttributes">SDL_GL_ResetAttributes</a></li>
\r
52 <li><a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a></li>
\r
53 <li><a href="#SDL_GL_SetSwapInterval">SDL_GL_SetSwapInterval</a></li>
\r
54 <li><a href="#SDL_GL_SwapWindow">SDL_GL_SwapWindow</a></li>
\r
55 <li><a href="#SDL_GL_UnbindTexture">SDL_GL_UnbindTexture</a></li>
\r
56 <li><a href="#SDL_GL_UnloadLibrary">SDL_GL_UnloadLibrary</a></li>
\r
57 <li><a href="#SDL_GetClosestDisplayMode">SDL_GetClosestDisplayMode</a></li>
\r
58 <li><a href="#SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode</a></li>
\r
59 <li><a href="#SDL_GetCurrentVideoDriver">SDL_GetCurrentVideoDriver</a></li>
\r
60 <li><a href="#SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode</a></li>
\r
61 <li><a href="#SDL_GetDisplayBounds">SDL_GetDisplayBounds</a></li>
\r
62 <li><a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a></li>
\r
63 <li><a href="#SDL_GetDisplayName">SDL_GetDisplayName</a></li>
\r
64 <li><a href="#SDL_GetNumDisplayModes">SDL_GetNumDisplayModes</a></li>
\r
65 <li><a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a></li>
\r
66 <li><a href="#SDL_GetNumVideoDrivers">SDL_GetNumVideoDrivers</a></li>
\r
67 <li><a href="#SDL_GetVideoDriver">SDL_GetVideoDriver</a></li>
\r
68 <li><a href="#SDL_GetWindowBrightness">SDL_GetWindowBrightness</a></li>
\r
69 <li><a href="#SDL_GetWindowData">SDL_GetWindowData</a></li>
\r
70 <li><a href="#SDL_GetWindowDisplayIndex">SDL_GetWindowDisplayIndex</a></li>
\r
71 <li><a href="#SDL_GetWindowDisplayMode">SDL_GetWindowDisplayMode</a></li>
\r
72 <li><a href="#SDL_GetWindowFlags">SDL_GetWindowFlags</a></li>
\r
73 <li><a href="#SDL_GetWindowFromID">SDL_GetWindowFromID</a></li>
\r
74 <li><a href="#SDL_GetWindowGammaRamp">SDL_GetWindowGammaRamp</a></li>
\r
75 <li><a href="#SDL_GetWindowGrab">SDL_GetWindowGrab</a></li>
\r
76 <li><a href="#SDL_GetWindowID">SDL_GetWindowID</a></li>
\r
77 <li><a href="#SDL_GetWindowMaximumSize">SDL_GetWindowMaximumSize</a></li>
\r
78 <li><a href="#SDL_GetWindowMinimumSize">SDL_GetWindowMinimumSize</a></li>
\r
79 <li><a href="#SDL_GetWindowPixelFormat">SDL_GetWindowPixelFormat</a></li>
\r
80 <li><a href="#SDL_GetWindowPosition">SDL_GetWindowPosition</a></li>
\r
81 <li><a href="#SDL_GetWindowSize">SDL_GetWindowSize</a></li>
\r
82 <li><a href="#SDL_GetWindowSurface">SDL_GetWindowSurface</a></li>
\r
83 <li><a href="#SDL_GetWindowTitle">SDL_GetWindowTitle</a></li>
\r
84 <li><a href="#SDL_GetWindowWMInfo">SDL_GetWindowWMInfo</a></li>
\r
85 <li><a href="#SDL_HideWindow">SDL_HideWindow</a></li>
\r
86 <li><a href="#SDL_IsScreenSaverEnabled">SDL_IsScreenSaverEnabled</a></li>
\r
87 <li><a href="#SDL_MaximizeWindow">SDL_MaximizeWindow</a></li>
\r
88 <li><a href="#SDL_MinimizeWindow">SDL_MinimizeWindow</a></li>
\r
89 <li><a href="#SDL_RaiseWindow">SDL_RaiseWindow</a></li>
\r
90 <li><a href="#SDL_RestoreWindow">SDL_RestoreWindow</a></li>
\r
91 <li><a href="#SDL_SetWindowBordered">SDL_SetWindowBordered</a></li>
\r
92 <li><a href="#SDL_SetWindowBrightness">SDL_SetWindowBrightness</a></li>
\r
93 <li><a href="#SDL_SetWindowData">SDL_SetWindowData</a></li>
\r
94 <li><a href="#SDL_SetWindowDisplayMode">SDL_SetWindowDisplayMode</a></li>
\r
95 <li><a href="#SDL_SetWindowFullscreen">SDL_SetWindowFullscreen</a></li>
\r
96 <li><a href="#SDL_SetWindowGammaRamp">SDL_SetWindowGammaRamp</a></li>
\r
97 <li><a href="#SDL_SetWindowGrab">SDL_SetWindowGrab</a></li>
\r
98 <li><a href="#SDL_SetWindowIcon">SDL_SetWindowIcon</a></li>
\r
99 <li><a href="#SDL_SetWindowMaximumSize">SDL_SetWindowMaximumSize</a></li>
\r
100 <li><a href="#SDL_SetWindowMinimumSize">SDL_SetWindowMinimumSize</a></li>
\r
101 <li><a href="#SDL_SetWindowPosition">SDL_SetWindowPosition</a></li>
\r
102 <li><a href="#SDL_SetWindowSize">SDL_SetWindowSize</a></li>
\r
103 <li><a href="#SDL_SetWindowTitle">SDL_SetWindowTitle</a></li>
\r
104 <li><a href="#SDL_ShowMessageBox">SDL_ShowMessageBox</a></li>
\r
105 <li><a href="#SDL_ShowSimpleMessageBox">SDL_ShowSimpleMessageBox</a></li>
\r
106 <li><a href="#SDL_ShowWindow">SDL_ShowWindow</a></li>
\r
107 <li><a href="#SDL_UpdateWindowSurface">SDL_UpdateWindowSurface</a></li>
\r
108 <li><a href="#SDL_UpdateWindowSurfaceRects">SDL_UpdateWindowSurfaceRects</a></li>
\r
109 <li><a href="#SDL_VideoInit">SDL_VideoInit</a></li>
\r
110 <li><a href="#SDL_VideoQuit">SDL_VideoQuit</a></li>
\r
112 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
113 <a href="https://wiki.libsdl.org/CategoryVideo">CategoryVideo - SDL Wiki</a>
\r
116 <h2><a name="SDL_BlendMode">SDL_BlendMode</a></h2>
\r
117 <a href="sdl2-render.html#SDL_RenderCopy">SDL_RenderCopy()</a>
\82Æ
\95`
\89æ
\91\80\8dì
\82Å
\8eg
\82í
\82ê
\82é
\83u
\83\8c\83\93\83h
\83\82\81[
\83h
\82Ì
\97ñ
\8b\93\91Ì
\r
119 <table border="1" summary="SDL_BlendMode">
\r
120 <tr><td>SDL_BLENDMODE_NONE</td><td>
\83u
\83\8c\83\93\83h
\82µ
\82È
\82¢</td><td>dstRGBA = srcRGBA</td></tr>
\r
121 <tr><td>SDL_BLENDMODE_BLEND</td><td>
\83A
\83\8b\83t
\83@
\83u
\83\8c\83\93\83f
\83B
\83\93\83O</td><td>dstRGB = (srcRGB * srcA) + (dstRGB * (1 - srcA))<br>dstA = srcA + (dstA * (1 - srcA))</td></tr>
\r
122 <tr><td>SDL_BLENDMODE_ADD</td><td>
\89Á
\8eZ
\83u
\83\8c\83\93\83f
\83B
\83\93\83O</td><td>dstRGB = (srcRGB * srcA) + dstRGB<br>dstA = dstA</td></tr>
\r
123 <tr><td>SDL_BLENDMODE_MOD</td><td>color modulate</td><td>dstRGB = srcRGB * dstRGB<br>dstA = dstA</td></tr>
\r
125 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8d\
\91¢
\91Ì)</h3>
\r
126 <a href="sdl2-render.html##SDL_RendererInfo">SDL_RendererInfo</a><br>
\r
127 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
128 <a href="sdl2-render.html##SDL_GetRenderDrawBlendMode">SDL_GetRenderDrawBlendMode</a><br>
\r
129 <a href="sdl2-render.html##SDL_GetSurfaceBlendMode">SDL_GetSurfaceBlendMode</a><br>
\r
130 <a href="sdl2-render.html##SDL_GetTextureBlendMode">SDL_GetTextureBlendMode</a><br>
\r
131 <a href="sdl2-render.html##SDL_RenderCopy">SDL_RenderCopy</a><br>
\r
132 <a href="sdl2-render.html##SDL_SetRenderDrawBlendMode">SDL_SetRenderDrawBlendMode</a><br>
\r
133 <a href="sdl2-render.html##SDL_SetSurfaceBlendMode">SDL_SetSurfaceBlendMode</a><br>
\r
134 <a href="sdl2-render.html##SDL_SetTextureBlendMode">SDL_SetTextureBlendMode</a><br>
\r
135 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
136 <a href="https://wiki.libsdl.org/SDL_BlendMode">SDL_BlendMode - SDL Wiki</a><br>
\r
139 <h2><a name="SDL_GLattr">SDL_GLattr</a></h2>
\r
140 OpenGL
\82Ì
\91®
\90«
\82Ì
\90Ý
\92è
\82Ì
\82½
\82ß
\82Ì
\97ñ
\8b\93\91Ì
\r
142 <table border="1" summary="SDL_GLattr">
\r
143 <tr><td>SDL_GL_RED_SIZE</td><td>
\83J
\83\89\81[
\83o
\83b
\83t
\83@
\82Ì
\90Ô
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í3</td></tr>
\r
144 <tr><td>SDL_GL_GREEN_SIZE</td><td>
\83J
\83\89\81[
\83o
\83b
\83t
\83@
\82Ì
\97Î
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í3</td></tr>
\r
145 <tr><td>SDL_GL_BLUE_SIZE</td><td>
\83J
\83\89\81[
\83o
\83b
\83t
\83@
\82Ì
\90Â
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í2</td></tr>
\r
146 <tr><td>SDL_GL_ALPHA_SIZE</td><td>
\83J
\83\89\81[
\83o
\83b
\83t
\83@
\82Ì
\83A
\83\8b\83t
\83@
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
147 <tr><td>SDL_GL_BUFFER_SIZE</td><td>
\83t
\83\8c\81[
\83\80\83o
\83b
\83t
\83@
\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
148 <tr><td>SDL_GL_DOUBLEBUFFER</td><td>
\83V
\83\93\83O
\83\8b\82©,
\83_
\83u
\83\8b\83o
\83b
\83t
\83@
\82©.
\83f
\83t
\83H
\83\8b\83g
\82Í
\83_
\83u
\83\8b\83o
\83b
\83t
\83@</td></tr>
\r
149 <tr><td>SDL_GL_DEPTH_SIZE</td><td>
\90[
\93x
\83o
\83b
\83t
\83@
\82Ì
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í16</td></tr>
\r
150 <tr><td>SDL_GL_STENCIL_SIZE</td><td>
\83X
\83e
\83\93\83V
\83\8b\83o
\83b
\83t
\83@
\82Ì
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
151 <tr><td>SDL_GL_ACCUM_RED_SIZE</td><td>
\92~
\90Ï
\83o
\83b
\83t
\83@
\82Ì
\90Ô
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
152 <tr><td>SDL_GL_ACCUM_GREEN_SIZE</td><td>
\92~
\90Ï
\83o
\83b
\83t
\83@
\82Ì
\97Î
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
153 <tr><td>SDL_GL_ACCUM_BLUE_SIZE</td><td>
\92~
\90Ï
\83o
\83b
\83t
\83@
\82Ì
\90Â
\90F
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
154 <tr><td>SDL_GL_ACCUM_ALPHA_SIZE</td><td>
\92~
\90Ï
\83o
\83b
\83t
\83@
\82Ì
\83A
\83\8b\83t
\83@
\83`
\83\83\83l
\83\8b\82Ì
\8dÅ
\8f¬
\83r
\83b
\83g
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
155 <tr><td>SDL_GL_STEREO</td><td>
\83X
\83e
\83\8c\83I3D
\82Å
\8fo
\97Í
\82·
\82é
\82©.
\83f
\83t
\83H
\83\8b\83g
\82Í
\83I
\83t</td></tr>
\r
156 <tr><td>SDL_GL_MULTISAMPLEBUFFERS</td><td>
\83}
\83\8b\83`
\83T
\83\93\83v
\83\8b \83A
\83\93\83`
\83G
\83C
\83\8a\83A
\83X
\82Å
\8eg
\82¤
\83o
\83b
\83t
\83@
\82Ì
\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0.
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
157 <tr><td>SDL_GL_MULTISAMPLESAMPLES</td><td>
\83}
\83\8b\83`
\83T
\83\93\83v
\83\8b \83A
\83\93\83`
\83G
\83C
\83\8a\83A
\83X
\82Å
\8eg
\82¤
\83s
\83N
\83Z
\83\8b\82Ì
\8eü
\95Ó
\82Ì
\83T
\83\93\83v
\83\8b\90\94.
\83f
\83t
\83H
\83\8b\83g
\82Í0.
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
158 <tr><td>SDL_GL_ACCELERATED_VISUAL</td><td>1
\82ð
\90Ý
\92è
\82·
\82é
\82Æ
\83n
\81[
\83h
\83E
\83F
\83A
\83A
\83N
\83Z
\83\89\83\8c\81[
\83V
\83\87\83\93, 0
\82ð
\90Ý
\92è
\82·
\82é
\82Æ
\8b
\90§
\93I
\82É
\83\
\83t
\83g
\83E
\83F
\83A
\83\8c\83\93\83_
\83\8a\83\93\83O
\82ð
\8eg
\82¤.
\83f
\83t
\83H
\83\8b\83g
\82Í
\97¼
\95û
\82ð
\8b\96\89Â
\82·
\82é</td></tr>
\r
159 <tr><td>SDL_GL_RETAINED_BACKING</td><td>
\96¢
\8eg
\97p (
\94p
\8e~)</td></tr>
\r
160 <tr><td>SDL_GL_CONTEXT_MAJOR_VERSION</td><td>OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\83\81\83W
\83\83\81[
\83o
\81[
\83W
\83\87\83\93.
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
161 <tr><td>SDL_GL_CONTEXT_MINOR_VERSION</td><td>OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\83}
\83C
\83i
\81[
\83o
\81[
\83W
\83\87\83\93.
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
162 <tr><td>SDL_GL_CONTEXT_FLAGS</td><td>0
\8cÂ
\88È
\8fã
\82ÌSDL_GLcontextFlag
\97ñ
\8b\93\91Ì
\82Ì
\97v
\91f.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
163 <tr><td>SDL_GL_CONTEXT_PROFILE_MASK</td><td>OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\8eí
\97Þ(Core, Compatibility, ES). SDL_GLprofile
\97ñ
\8b\93\91Ì
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ.
\83f
\83t
\83H
\83\8b\83g
\82Í
\8aÂ
\8b«
\82É
\88Ë
\91¶
\82·
\82é</td></tr>
\r
164 <tr><td>SDL_GL_SHARE_WITH_CURRENT_CONTEXT</td><td>OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\83V
\83F
\83A.
\83f
\83t
\83H
\83\8b\83g
\82Í0</td></tr>
\r
165 <tr><td>SDL_GL_FRAMEBUFFER_SRGB_CAPABLE</td><td>sRGB
\82Ì
\8eg
\97p
\82ð
\97v
\8b\81\82·
\82é.
\83f
\83t
\83H
\83\8b\83g
\82Í0. (SDL 2.0.1
\88È
\8fã)</td></tr>
\r
166 <tr><td>SDL_GL_CONTEXT_EGL</td><td>
\96¢
\8eg
\97p (
\94p
\8e~)</td></tr>
\r
168 <h3>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h3>
\r
170 SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);<br>
\r
171 SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);<br>
\r
172 SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);<br>
\r
173 SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8);<br>
\r
174 SDL_GL_SetAttribute(SDL_DOUBLEBUFFER, 1);<br>
\r
175 SDL_GL_CreateContext(window);<br>
\r
179 \92Ê
\8fí, OpenGL
\82Ì
\82Ù
\82Æ
\82ñ
\82Ç
\82Ì
\91®
\90«
\82Í
\90Ý
\92è
\82Å
\82«
\82é
\82ª,
\8fã
\8bL
\82Ì
\91®
\90«
\82ÍSDL
\82ªOpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\8eg
\82¤
\82½
\82ß,
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\91O
\82É
\82í
\82©
\82Á
\82Ä
\82¢
\82é
\95K
\97v
\82ª
\82 \82é.
\r
180 \82±
\82ê
\82ç
\82Ì
\91®
\90«
\82Í<a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute()</a>
\82Æ<a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute()</a>
\82Å
\90Ý
\92è,
\8al
\93¾
\82Å
\82«
\82é.
\r
183 \82±
\82ê
\82ç
\82Ì
\91®
\90«
\82Í
\8dÅ
\8f¬
\92l
\82Ì
\97v
\8b\81\82Ì
\8fê
\8d\87\82ª
\82 \82é.
\r
184 \82Â
\82Ü
\82èGL
\82Í
\97v
\8b\81\82µ
\82½
\82¿
\82å
\82¤
\82Ç
\82Ì
\92l
\82ð
\95Û
\8fá
\82µ
\82È
\82¢.
\r
185 \97á
\82¦
\82Î, 16bit
\82Ì
\90[
\93x
\83o
\83b
\83t
\83@
\82ð
\97v
\8b\81\82µ
\82Ä24bit
\82Ì
\90[
\93x
\83o
\83b
\83t
\83@
\82ª
\90Ý
\92è
\82³
\82ê
\82é
\82±
\82Æ
\82â,
\83X
\83e
\83\93\83V
\83\8b\83o
\83b
\83t
\83@
\82ð
\8eg
\82í
\82È
\82¢
\82æ
\82¤
\82É
\97v
\8b\81\82µ
\82½
\82ª
\91¶
\8dÝ
\82·
\82é,
\82Æ
\82¢
\82¤
\82±
\82Æ
\82Í
\82 \82è
\82¤
\82é.
\r
186 GL
\82ª
\97v
\8b\81\82³
\82ê
\82½
\8dÅ
\8f¬
\82Ì
\91®
\90«
\82ð
\92ñ
\8b\9f\82Å
\82«
\82È
\82¢
\8fê
\8d\87\82Í
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\90¶
\90¬
\82Í
\95K
\82¸
\8e¸
\94s
\82·
\82é.
\r
187 \82µ
\82©
\82µ,
\90Ý
\92è
\82³
\82ê
\82½
\91®
\90«
\82ª
\82¿
\82å
\82¤
\82Ç
\82Å
\82 \82é
\82©
\82ð
\92m
\82é
\82½
\82ß
\82É
\82Í
\83`
\83F
\83b
\83N
\82µ
\82È
\82¯
\82ê
\82Î
\82È
\82ç
\82È
\82¢.
\r
190 \83}
\83\8b\83`
\83T
\83\93\83v
\83\8b \83A
\83\93\83`
\83G
\83C
\83\8a\83A
\83V
\83\93\83O
\82Í
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93\82Ì
\83A
\83\93\83`
\83G
\83C
\83\8a\83A
\83V
\83\93\83O
\82Å
\82 \82é.
\r
191 \83}
\83\8b\83`
\83T
\83\93\83v
\83\8b \83A
\83\93\83`
\83G
\83C
\83\8a\83A
\83V
\83\93\83O
\82Í
\83f
\83t
\83H
\83\8b\83g
\82Å
\82Í
\83I
\83t
\82¾
\82ª, <a href="#SDL_GLattr">SDL_GL_MULTISAMPLEBUFFERS</a>
\82ð1, <a href="#SDL_GLattr">SDL_GL_MULTISAMPLESAMPLES</a>
\82ð0
\88È
\8fã
\82É
\82·
\82é
\82Æ
\83I
\83\93\82É
\82È
\82é.
\82æ
\82
\8eg
\82í
\82ê
\82é
\92l
\82Í2
\82Æ4
\82Å
\82 \82é.
\r
194 <a href="#SDL_GLattr">SDL_GL_CONTEXT_PROFILE_MASK</a>
\82Í
\90¶
\90¬
\82³
\82ê
\82½
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\8c\88\82Ü
\82é.
\r
195 <a href="#SDL_GLattr">SDL_GL_CONTEXT_MAJOR_VERSION</a>
\82Æ<a href="#SDL_GLattr">SDL_GL_CONTEXT_MINOR_VERSION</a>
\82à
\93¯
\82¶
\82Å
\82 \82é.
\r
196 \82±
\82ê
\82ç3
\82Â
\82Ì
\91®
\90«
\82Í
\8dÅ
\8f\89\82Ì
\83E
\83B
\83\93\83h
\83E
\82ª
\90¶
\90¬
\82³
\82ê
\82é
\91O
\82É
\90Ý
\92è
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
197 \82»
\82µ
\82Ä,
\92Ê
\8fí
\82Í<a href="#SDL_GLattr">SDL_GL_CONTEXT_PROFILE_MASK</a>
\82Ì
\92l
\82Í,
\88È
\91O
\82Ì
\90Ý
\92è
\82Å
\90¶
\90¬
\82µ
\82½
\83E
\83B
\83\93\83h
\83E
\82ð
\91S
\82Ä
\82Ì
\95Â
\82¶
\82é
\82Ü
\82Å
\82Í
\95Ï
\8dX
\82Å
\82«
\82È
\82¢.
\r
199 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
200 <a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a><br>
\r
201 <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a><br>
\r
202 <a href="#SDL_GL_CreateContext">SDL_GL_CreateContext</a><br>
\r
203 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
204 <a href="https://wiki.libsdl.org/SDL_GLattr">SDL_GLattr - SDL Wiki</a><br>
\r
207 <h2><a name="SDL_GLcontextFlag">SDL_GLcontextFlag</a></h2>
\r
208 OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\90Ý
\92è
\83t
\83\89\83O
\82Ì
\82½
\82ß
\82Ì
\97ñ
\8b\93\91Ì
\r
210 <table border="1" summary="SDL_GLcontextFlag">
\r
211 <tr><td>SDL_GL_CONTEXT_DEBUG_FLAG</td><td>
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
212 <tr><td>SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG</td><td>
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
213 <tr><td>SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG</td><td>
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
214 <tr><td>SDL_GL_CONTEXT_RESET_ISOLATION_FLAG</td><td>
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
217 \82±
\82Ì
\97ñ
\8b\93\91Ì
\82Í<a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a>
\82Å<a href="#SDL_GLattr">SDL_GL_CONTEXT_FLAGS</a>
\82Æ
\91g
\82Ý
\8d\87\82í
\82¹
\82Ä
\8eg
\82¤.
\r
218 \83t
\83\89\83O
\82ð
\98_
\97\9d\98a
\82Å
\95¡
\90\94\90Ý
\92è
\82Å
\82«
\82é.
\r
219 <h4>SDL_GL_CONTEXT_DEBUG_FLAG</h4>
\r
220 \82±
\82Ì
\83t
\83\89\83O
\82Í, X11
\82ÌGLX_ARB_create_context
\8ag
\92£
\82ÌGLX_CONTEXT_DEBUG_BIT_ARB, Windows
\82ÌWGL_ARB_create_context
\8ag
\92£
\82ÌWGL_CONTEXT_DEBUG_BIT_ARB
\82É
\83}
\83b
\83v
\82³
\82ê
\82Ä
\82¢
\82é.
\r
221 \91¼
\82Ì
\8aÂ
\8b«
\82Å
\82Í
\93¯
\97l
\82Ì
\8b@
\94\
\82ª
\82È
\82¢
\82½
\82ß
\96³
\8e\8b\82³
\82ê
\82é.
\r
222 <h4>SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG</h4>
\r
223 \82±
\82Ì
\83t
\83\89\83O
\82Í, X11
\82ÌGLX_ARB_create_context
\8ag
\92£
\82ÌGLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, Windows
\82ÌWGL_ARB_create_context
\8ag
\92£
\82ÌWGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
\82É
\83}
\83b
\83v
\82³
\82ê
\82Ä
\82¢
\82é.
\r
224 \91¼
\82Ì
\8aÂ
\8b«
\82Å
\82Í
\93¯
\97l
\82Ì
\8b@
\94\
\82ª
\82È
\82¢
\82½
\82ß
\96³
\8e\8b\82³
\82ê
\82é.
\r
225 <h4>SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG</h4>
\r
226 \82±
\82Ì
\83t
\83\89\83O
\82Í, X11
\82Å
\82ÍGLX_ARB_create_context_robustness
\8ag
\92£
\82ÌGLX_CONTEXT_ROBUST_ACCESS_BIT_ARB, Windows
\82Å
\82ÍWGL_ARB_create_context_robustness
\8ag
\92£
\82ÌWGL_CONTEXT_ROBUST_ACCESS_BIT_ARB
\82É
\83}
\83b
\83v
\82³
\82ê
\82Ä
\82¢
\82é.
\r
227 \91¼
\82Ì
\8aÂ
\8b«
\82Å
\82Í
\93¯
\97l
\82Ì
\8b@
\94\
\82ª
\82È
\82¢
\82½
\82ß
\96³
\8e\8b\82³
\82ê
\82é.
\r
228 <h4>SDL_GL_CONTEXT_RESET_ISOLATION_FLAG</h4>
\r
229 \82±
\82Ì
\83t
\83\89\83O
\82Í, X11
\82Å
\82ÍGLX_ARB_robustness_isolation
\8ag
\92£
\82ÌGLX_CONTEXT_RESET_ISOLATION_BIT_ARB, Windows
\82Å
\82ÍWGL_ARB_create_context_robustness
\8ag
\92£
\82ÌWGL_CONTEXT_RESET_ISOLATION_BIT_ARB
\82É
\83}
\83b
\83v
\82³
\82ê
\82Ä
\82¢
\82é.
\r
230 \91¼
\82Ì
\8aÂ
\8b«
\82Å
\82Í
\93¯
\97l
\82Ì
\8b@
\94\
\82ª
\82È
\82¢
\82½
\82ß
\96³
\8e\8b\82³
\82ê
\82é.
\r
231 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\97ñ
\8b\93\91Ì)</h3>
\r
232 <a href="#SDL_GLattr">SDL_GLattr</a><br>
\r
233 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
234 <a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a><br>
\r
235 <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a><br>
\r
236 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
237 <a href="https://wiki.libsdl.org/SDL_GLcontextFlag">SDL_GLcontextFlag - SDL Wiki</a><br>
\r
240 <h2><a name="SDL_GLprofile">SDL_GLprofile</a></h2>
\r
241 OpenGL
\83v
\83\8d\83t
\83@
\83C
\83\8b\82Ì
\82½
\82ß
\82Ì
\97ñ
\8b\93\91Ì
\r
243 <table border="1" summary="SDL_GLprofile">
\r
244 <tr><td>SDL_GL_CONTEXT_PROFILE_CORE</td><td>OpenGL
\83R
\83A
\83v
\83\8d\83t
\83@
\83C
\83\8b -
\94p
\8e~
\82³
\82ê
\82½
\8b@
\94\
\82Í
\96³
\8cø
\82É
\82È
\82é</td></tr>
\r
245 <tr><td>SDL_GL_CONTEXT_PROFILE_COMPATIBILITY</td><td>Open GL
\8cÝ
\8a·
\83v
\83\8d\83t
\83@
\83C
\83\8b -
\94p
\8e~
\82³
\82ê
\82½
\8b@
\94\
\82Í
\8b\96\89Â
\82³
\82ê
\82é</td></tr>
\r
246 <tr><td>SDL_GL_CONTEXT_PROFILE_ES</td><td>Open GL
\83v
\83\8d\83t
\83@
\83C
\83\8b - OpenGL
\82Ì
\83T
\83u
\83Z
\83b
\83g
\8b@
\94\
\82Ì
\82Ý
\8eg
\82¦
\82é</td></tr>
\r
249 \82±
\82Ì
\97ñ
\8b\93\91Ì
\82Í<a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a>
\82Å<a href="#SDL_GLattr">SDL_GL_CONTEXT_PROFILE_MASK</a>
\82Æ
\91g
\82Ý
\8d\87\82í
\82¹
\82Ä
\8eg
\82¤.
\r
250 <a href="#SDL_GLattr">SDL_GL_CONTEXT_PROFILE_MASK</a>
\82Í
\98_
\97\9d\98a
\82Å
\95¡
\90\94\90Ý
\92è
\82Å
\82«
\82é
\82ª,
\83v
\83\8d\83t
\83@
\83C
\83\8b\82Í
\94r
\91¼
\93I
\82Å
\82 \82è, <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a>
\82Í1
\82Â
\82µ
\82©
\8eó
\82¯
\95t
\82¯
\82È
\82¢.
\r
251 <a href="#SDL_GLattr">SDL_GL_CONTEXT_PROFILE_MASK</a>
\91®
\90«
\82ð0
\82É
\82·
\82é
\82Æ
\83v
\83\8d\83t
\83@
\83C
\83\8b\82ÍSDL
\82ª
\91I
\91ð
\82·
\82é.
\r
252 OpenGL
\82Ì
\83v
\83\8d\83t
\83@
\83C
\83\8b\82Í
\83o
\81[
\83W
\83\87\83\93\82Æ
\8fÚ
\8d×
\82É
\8aÖ
\98A
\95t
\82¯
\82ç
\82ê
\82Ä
\82¢
\82é
\82½
\82ß, <a href="#SDL_GLattr">SDL_GL_CONTEXT_MAJOR_VERSION</a>
\82Æ<a href="#SDL_GLattr">SDL_GL_CONTEXT_MINOR_VERSION</a>
\91®
\90«
\82Í
\95K
\82¸
\88ê
\8f\8f\82É
\8eg
\82¤
\95K
\97v
\82ª
\82 \82é.
\r
253 OpenGL ES
\83o
\81[
\83W
\83\87\83\931.0
\82Æ1.1
\82Ìcommon
\82Æcommon lite
\83v
\83\8d\83t
\83@
\83C
\83\8b\82ð
\8bæ
\95Ê
\82·
\82é
\95û
\96@
\82Í
\82È
\82¢.
\r
254 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\97ñ
\8b\93\91Ì)</h3>
\r
255 <a href="#SDL_GLattr">SDL_GLattr</a><br>
\r
256 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
257 <a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a><br>
\r
258 <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a><br>
\r
259 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
260 <a href="https://wiki.libsdl.org/SDL_GLcontextFlag">SDL_GLcontextFlag - SDL Wiki</a><br>
\r
263 <h2><a name="SDL_WindowEventID">SDL_WindowEventID</a></h2>
\r
264 \83E
\83B
\83\93\83h
\83E
\83C
\83x
\83\93\83g
\82Ì
\82½
\82ß
\82Ì
\97ñ
\8b\93\91Ì
\r
266 <table border="1" summary="SDL_WindowEventID">
\r
267 <tr><td>SDL_WINDOWEVENT_NONE</td><td>(
\82±
\82Ì
\92l
\82ª
\8eg
\82í
\82ê
\82é
\82±
\82Æ
\82Í
\82È
\82¢)</td></tr>
\r
268 <tr><td>SDL_WINDOWEVENT_SHOWN</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\8c©
\82¦
\82é
\82æ
\82¤
\82É
\82È
\82Á
\82½</td></tr>
\r
269 <tr><td>SDL_WINDOWEVENT_HIDDEN</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\8c©
\82¦
\82È
\82¢
\82æ
\82¤
\82É
\82È
\82Á
\82½</td></tr>
\r
270 <tr><td>SDL_WINDOWEVENT_EXPOSED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\8c»
\82ê
\82½.
\8dÄ
\95`
\89æ
\82·
\82é
\95K
\97v
\82ª
\82 \82é</td></tr>
\r
271 <tr><td>SDL_WINDOWEVENT_MOVED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ªdata1
\82©
\82çdata2
\82Ö
\88Ú
\93®
\82µ
\82½</td></tr>
\r
272 <tr><td>SDL_WINDOWEVENT_RESIZED</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\91å
\82«
\82³
\82ªdata1
\81~data2
\82É
\82È
\82Á
\82½.
\82±
\82Ì
\83C
\83x
\83\93\83g
\82Í
\8fí
\82ÉSDL_WINDOWEVENT_SIZE_CHANGED
\82Ì
\91O
\82É
\94
\90¶
\82·
\82é</td></tr>
\r
273 <tr><td>SDL_WINDOWEVENT_SIZE_CHANGED</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\91å
\82«
\82³
\82ª
\95Ï
\82í
\82Á
\82½. API
\82Ì
\8cÄ
\82Ñ
\8fo
\82µ
\82Ì
\8c\8b\89Ê
\82Æ
\83\86\81[
\83U
\82ª
\91å
\82«
\82³
\82ð
\95Ï
\82¦
\82½
\8fê
\8d\87\82Ì
\97¼
\95û
\82ª
\82 \82é.
\82±
\82Ì
\83C
\83x
\83\93\83g
\82Í,
\91å
\82«
\82³
\82ª
\8aO
\95\94\82Ì
\97v
\88ö,
\97á
\82¦
\82Î
\83\86\81[
\83U
\82â
\83E
\83B
\83\93\83h
\83E
\83}
\83l
\81[
\83W
\83\83\82Å
\95Ï
\82¦
\82ç
\82ê
\82½
\8fê
\8d\87, SDL_WINDOWEVENT_RESIZED
\83C
\83x
\83\93\83g
\82Ì
\8cã
\82É
\94
\90¶
\82·
\82é.</td></tr>
\r
274 <tr><td>SDL_WINDOWEVENT_MINIMIZED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\8dÅ
\8f¬
\89»
\82³
\82ê
\82½</td></tr>
\r
275 <tr><td>SDL_WINDOWEVENT_MAXIMIZED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\8dÅ
\91å
\89»
\82³
\82ê
\82½</td></tr>
\r
276 <tr><td>SDL_WINDOWEVENT_RESTORED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\92Ê
\8fí
\82Ì
\91å
\82«
\82³
\82Æ
\88Ê
\92u
\82É
\82È
\82Á
\82½</td></tr>
\r
277 <tr><td>SDL_WINDOWEVENT_ENTER</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\83}
\83E
\83X
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ð
\93¾
\82½</td></tr>
\r
278 <tr><td>SDL_WINDOWEVENT_LEAVE</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\83}
\83E
\83X
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ð
\8e¸
\82Á
\82½</td></tr>
\r
279 <tr><td>SDL_WINDOWEVENT_FOCUS_GAINED</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\83L
\81[
\83{
\81[
\83h
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ð
\93¾
\82½</td></tr>
\r
280 <tr><td>SDL_WINDOWEVENT_FOCUS_LOST</td><td>
\83E
\83B
\83\93\83h
\83E
\82ª
\83L
\81[
\83{
\81[
\83h
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ð
\8e¸
\82Á
\82½</td></tr>
\r
281 <tr><td>SDL_WINDOWEVENT_CLOSE</td><td>
\83E
\83B
\83\93\83h
\83E
\83}
\83l
\81[
\83W
\83\83\82ª
\95Â
\82¶
\82é
\82±
\82Æ
\82ð
\97v
\8b\81\82µ
\82½</td></tr>
\r
283 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8d\
\91¢
\91Ì)</h3>
\r
284 <a href="#SDL_WindowEvent">SDL_WindowEvent</a><br>
\r
285 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
286 <a href="#SDL_GetWindowID">SDL_GetWindowID</a><br>
\r
287 <a href="#SDL_GetWindowFromID">SDL_GetWindowFromID</a><br>
\r
288 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
289 <a href="https://wiki.libsdl.org/SDL_WindowEventID">SDL_WindowEventID - SDL Wiki</a><br>
\r
292 <h2><a name="SDL_WindowFlags">SDL_WindowFlags</a></h2>
\r
293 \83E
\83B
\83\93\83h
\83E
\82Ì
\8fó
\91Ô
\82Ì
\82½
\82ß
\82Ì
\97ñ
\8b\93\91Ì
\r
295 <table border="1" summary="SDL_WindowFlags">
\r
296 <tr><td>SDL_WINDOW_FULLSCREEN</td><td>
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93</td></tr>
\r
297 <tr><td>SDL_WINDOW_FULLSCREEN_DESKTOP</td><td>
\8c»
\8dÝ
\82Ì
\83f
\83X
\83N
\83g
\83b
\83v
\82Ì
\89ð
\91\9c\93x
\82Å
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93</td></tr>
\r
298 <tr><td>SDL_WINDOW_OPENGL</td><td>OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\8eg
\97p</td></tr>
\r
299 <tr><td>SDL_WINDOW_SHOWN</td><td>
\8c©
\82¦
\82Ä
\82¢
\82é</td></tr>
\r
300 <tr><td>SDL_WINDOW_HIDDEN</td><td>
\8c©
\82¦
\82Ä
\82¢
\82È
\82¢</td></tr>
\r
301 <tr><td>SDL_WINDOW_BORDERLESS</td><td>
\98g
\82ª
\82È
\82¢</td></tr>
\r
302 <tr><td>SDL_WINDOW_RESIZABLE</td><td>
\91å
\82«
\82³
\82ð
\95Ï
\82¦
\82ç
\82ê
\82é</td></tr>
\r
303 <tr><td>SDL_WINDOW_MINIMIZED</td><td>
\8dÅ
\8f¬
\89»
\82³
\82ê
\82Ä
\82¢
\82é</td></tr>
\r
304 <tr><td>SDL_WINDOW_MAXIMIZED</td><td>
\8dÅ
\91å
\89»
\82³
\82ê
\82Ä
\82¢
\82é</td></tr>
\r
305 <tr><td>SDL_WINDOW_INPUT_GRABBED</td><td>
\93ü
\97Í
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ª
\83O
\83\89\83u
\82³
\82ê
\82Ä
\82¢
\82é</td></tr>
\r
306 <tr><td>SDL_WINDOW_INPUT_FOCUS</td><td>
\93ü
\97Í
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ª
\82 \82é</td></tr>
\r
307 <tr><td>SDL_WINDOW_MOUSE_FOCUS</td><td>
\83}
\83E
\83X
\82Ì
\83t
\83H
\81[
\83J
\83X
\82ª
\82 \82é</td></tr>
\r
308 <tr><td>SDL_WINDOW_FOREIGN</td><td>SDL
\88È
\8aO
\82É
\82æ
\82Á
\82Ä
\90¶
\90¬
\82³
\82ê
\82½</td></tr>
\r
309 <tr><td>SDL_WINDOW_ALLOW_HIGHDPI</td><td>
\8d\82DPI
\83\82\81[
\83h
\82Å
\90¶
\90¬
\82³
\82ê
\82½ (SDL2.0.1
\88È
\8fã)</td></tr>
\r
312 <a href="#SDL_WindowFlags">SDL_WINDOW_OPENGL</a>
\83t
\83\89\83O
\82ÍOpenGL
\82ð
\8eg
\82¤
\8f\80\94õ
\82ð
\82·
\82é.
\82µ
\82©
\82µ,
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82µ
\82½
\8cã
\82ÍOpenGL
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\91O
\82É<a href="#SDL_GL_CreateContext">SDL_GL_CreateContext()</a>
\82ÅOpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
313 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
314 <a href="#SDL_CreateWindow">SDL_CreateWindow</a><br>
\r
315 <a href="#SDL_GetWindowFlags">SDL_GetWindowFlags</a><br>
\r
316 <a href="#SDL_HideWindow">SDL_HideWindow</a><br>
\r
317 <a href="#SDL_MaximizeWindow">SDL_MaximizeWindow</a><br>
\r
318 <a href="#SDL_MinimizeWindow">SDL_MinimizeWindow</a><br>
\r
319 <a href="#SDL_SetWindowFullscreen">SDL_SetWindowFullscreen</a><br>
\r
320 <a href="#SDL_SetWindowGrab">SDL_SetWindowGrab</a><br>
\r
321 <a href="#SDL_ShowWindow">SDL_ShowWindow</a><br>
\r
322 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
323 <a href="https://wiki.libsdl.org/SDL_WindowFlags">SDL_WindowFlags - SDL Wiki</a><br>
\r
326 <h2><a name="SDL_DisplayMode">SDL_DisplayMode</a></h2>
\r
327 \83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\8aÜ
\82Þ
\8d\
\91¢
\91Ì
\r
328 <h3>
\83t
\83B
\81[
\83\8b\83h</h3>
\r
329 <table border="1" summary="SDL_DisplayMode">
\r
330 <tr><td>Uint32</td><td>format</td><td>SDL_PixelFormatEnum
\82Ì
\92l
\82Ì1
\82Â.
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ</td></tr>
\r
331 <tr><td>int</td><td>w</td><td>
\95\9d</td></tr>
\r
332 <tr><td>int</td><td>h</td><td>
\8d\82\82³</td></tr>
\r
333 <tr><td>int</td><td>refresh_rate</td><td>
\83\8a\83t
\83\8c\83b
\83V
\83\85\83\8c\81[
\83g(Hz),
\93Á
\92è
\82Å
\82«
\82È
\82¢
\8fê
\8d\87\82Í0</td></tr>
\r
334 <tr><td>void*</td><td>driverdata</td><td>
\83h
\83\89\83C
\83o
\8cÅ
\97L
\82Ì
\83f
\81[
\83^. 0
\82Å
\8f\89\8aú
\89»
\82·
\82é</td></tr>
\r
336 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
337 <a href="#SDL_GetClosestDisplayMode">SDL_GetClosestDisplayMode</a><br>
\r
338 <a href="#SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode</a><br>
\r
339 <a href="#SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode</a><br>
\r
340 <a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a><br>
\r
341 <a href="#SDL_GetNumDisplayModes">SDL_GetNumDisplayModes</a><br>
\r
342 <a href="#SDL_GetWindowDisplayMode">SDL_GetWindowDisplayMode</a><br>
\r
343 <a href="#SDL_SetWindowDisplayMode">SDL_SetWindowDisplayMode</a><br>
\r
344 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
345 <a href="https://wiki.libsdl.org/SDL_DisplayMode">SDL_DisplayMode - SDL Wiki</a><br>
\r
348 <h2><a name="SDL_WindowEvent">SDL_WindowEvent</a></h2>
\r
349 \83E
\83B
\83\93\83h
\83E
\82Ì
\8fó
\91Ô
\82ª
\95Ï
\89»
\82µ
\82½
\8fê
\8d\87\82Ì
\83C
\83x
\83\93\83g
\82Ì
\83f
\81[
\83^
\82ð
\8aÜ
\82Þ
\8d\
\91¢
\91Ì
\r
350 <h3>
\83t
\83B
\81[
\83\8b\83h</h3>
\r
351 <table border="1" summary="SDL_WindowEvent">
\r
352 <tr><td>Uint32</td><td>type</td><td>SDL_WINDOWEVENT</td></tr>
\r
353 <tr><td>Uint32</td><td>timestamp</td><td>
\83C
\83x
\83\93\83g
\82Ì
\83^
\83C
\83\80\83X
\83^
\83\93\83v</td></tr>
\r
354 <tr><td>Uint32</td><td>windowID</td><td>
\8aÖ
\98A
\82Ì
\82 \82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
355 <tr><td>Uint8</td><td>event</td><td><a href="#SDL_WindowEventID">SDL_WindowEventID</a></td></tr>
\r
356 <tr><td>Sint32</td><td>data1</td><td>
\83C
\83x
\83\93\83g
\82É
\82æ
\82Á
\82Ä
\88Ù
\82È
\82é
\83f
\81[
\83^</td></tr>
\r
357 <tr><td>Sint32</td><td>data2</td><td>
\83C
\83x
\83\93\83g
\82É
\82æ
\82Á
\82Ä
\88Ù
\82È
\82é
\83f
\81[
\83^</td></tr>
\r
360 <a href="#SDL_WindowEvent">SDL_WindowEvent</a>
\82Í<a href="sdl-event.html#SDL_Event">SDL_Event</a>
\8b¤
\97p
\91Ì
\82Ì
\83\81\83\93\83o
\82Ì1
\82Â
\82Å,
\83C
\83x
\83\93\83g
\82Ìtype
\82ªSDL_WINDOWEVENT
\82Ì
\8fê
\8d\87\82É
\8eg
\82¤.
\r
361 \83C
\83x
\83\93\83g
\82Ìwindow
\83t
\83B
\81[
\83\8b\83h
\82ð
\8co
\97R
\82µ
\82Ä
\83A
\83N
\83Z
\83X
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
362 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\97ñ
\8b\93\91Ì)</h3>
\r
363 <a href="sdl-event.html#SDL_EventType">SDL_EventType</a><br>
\r
364 <a href="#SDL_WindowEventID">SDL_WindowEventID</a><br>
\r
365 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
366 <a href="https://wiki.libsdl.org/SDL_WindowEvent">SDL_WindowEvent - SDL Wiki</a><br>
\r
369 <h2><a name="SDL_CreateWindow">SDL_CreateWindow</a></h2>
\r
370 \88Ê
\92u,
\91å
\82«
\82³,
\83t
\83\89\83O
\82ð
\8ew
\92è
\82µ
\82Ä
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\r
372 <code>SDL_Window* SDL_CreateWindow(const char* title, int x, int y, int w, int h, Uint32 flags)</code>
\r
373 <h3>
\88ø
\90\94</h3>
\r
374 <table border="1" summary="SDL_CreateWindow">
\r
375 <tr><td>title</td><td>UTF-8
\82Å
\83R
\81[
\83h
\89»
\82³
\82ê
\82½
\83E
\83B
\83\93\83h
\83E
\82Ì
\83^
\83C
\83g
\83\8b</td></tr>
\r
376 <tr><td>x</td><td>
\83E
\83B
\83\93\83h
\83E
\82ÌX
\8dÀ
\95W, SDL_WINDOWPOS_CENTERED
\82Ü
\82½
\82Í SDL_WINDOWPOS_UNDEFINED</td></tr>
\r
377 <tr><td>y</td><td>
\83E
\83B
\83\93\83h
\83E
\82ÌY
\8dÀ
\95W, SDL_WINDOWPOS_CENTERED
\82Ü
\82½
\82Í SDL_WINDOWPOS_UNDEFINED</td></tr>
\r
378 <tr><td>w</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\95\9d</td></tr>
\r
379 <tr><td>h</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\8d\82\82³</td></tr>
\r
380 <tr><td>flags</td><td>0
\82Ü
\82½
\82Í 1
\82Â
\88È
\8fã
\82Ì<a href="#SDL_WindowFlags">SDL_WindowFlags</a>
\82Ì
\98_
\97\9d\98a</td></tr>
\r
382 <h3>
\96ß
\82è
\92l</h3>
\r
384 \90¶
\90¬
\82³
\82ê
\82½
\83E
\83B
\83\93\83h
\83E
\82ð
\96ß
\82·.
\r
385 \8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
386 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
388 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
389 <a href="#SDL_DestroyWindow">SDL_DestroyWindow</a><br>
\r
390 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
391 <a href="https://wiki.libsdl.org/SDL_CreateWindow">SDL_CreateWindow - SDL Wiki</a>
\r
394 <h2><a name="SDL_CreateWindowAndRenderer">SDL_CreateWindowAndRenderer</a></h2>
\r
395 \83E
\83B
\83\93\83h
\83E
\82Æ
\83f
\83t
\83H
\83\8b\83g
\82Ì
\83\8c\83\93\83_
\83\89\82ð
\90¶
\90¬
\82·
\82é
\r
397 <code>int SDL_CreateWindowAndRenderer(int width, int height, Uint32 window_flags, SDL_Window** window, SDL_Renderer** renderer)</code>
\r
398 <h3>
\88ø
\90\94</h3>
\r
399 <table border="1" summary="SDL_CreateWindowAndRenderer">
\r
400 <tr><td>width</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\95\9d</td></tr>
\r
401 <tr><td>height</td><td>
\83E
\83B
\83\93\83h
\83E
\82Ì
\8d\82\82³</td></tr>
\r
402 <tr><td>window_flags</td><td>
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\82Æ
\82«
\82É
\8eg
\82í
\82ê
\82é
\83t
\83\89\83O (<a href="#SDL_CreateWindow">SDL_CreateWindow</a>
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ)</td></tr>
\r
403 <tr><td>window</td><td>
\90¶
\90¬
\82³
\82ê
\82½
\83E
\83B
\83\93\83h
\83E
\82ð
\91ã
\93ü
\82·
\82é
\83|
\83C
\83\93\83^,
\8e¸
\94s
\82Ì
\82Æ
\82«
\82ÍNULL</td></tr>
\r
404 <tr><td>renderer</td><td>
\90¶
\90¬
\82³
\82ê
\82½
\83\8c\83\93\83_
\83\89\82ð
\91ã
\93ü
\82·
\82é
\83|
\83C
\83\93\83^,
\8e¸
\94s
\82Ì
\82Æ
\82«
\82ÍNULL</td></tr>
\r
406 <h3>
\96ß
\82è
\92l</h3>
\r
408 \90³
\8fí
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«-1
\82ð
\96ß
\82·.
\r
409 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
411 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
412 <a href="#SDL_CreateWindow">SDL_CreateWindow</a><br>
\r
413 <a href="#SDL_CreateRenderer">SDL_CreateRenderer</a><br>
\r
414 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
415 <a href="https://wiki.libsdl.org/SDL_CreateWindowAndRenderer">SDL_CreateWindowAndRenderer - SDL Wiki</a>
\r
418 <h2><a name="SDL_CreateWindowFrom">SDL_CreateWindowFrom</a></h2>
\r
419 \8aù
\82É
\82 \82é
\83l
\83C
\83e
\83B
\83u
\82Ì
\83E
\83B
\83\93\83h
\83E
\82©
\82çSDL
\82Ì
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\r
421 <code>SDL_Window* SDL_CreateWindowFrom(const void* data)</code>
\r
422 <h3>
\88ø
\90\94</h3>
\r
423 <table border="1" summary="SDL_CreateWindowFrom">
\r
424 <tr><td>data</td><td>
\83h
\83\89\83C
\83o
\82É
\88Ë
\91¶
\82µ
\82½
\83E
\83B
\83\93\83h
\83E
\90¶
\90¬
\82Ì
\82½
\82ß
\82Ì
\83f
\81[
\83^.
\92Ê
\8fí
\82Ívoid*
\83L
\83\83\83X
\83g
\82µ
\82½
\83l
\83C
\83e
\83B
\83u
\82Ì
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
426 <h3>
\96ß
\82è
\92l</h3>
\r
428 \90¶
\90¬
\82³
\82ê
\82½
\83E
\83B
\83\93\83h
\83E
\82ð
\96ß
\82·.
\r
429 \8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
430 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
432 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
433 <a href="#SDL_DestroyWindow">SDL_DestroyWindow</a><br>
\r
434 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
435 <a href="https://wiki.libsdl.org/SDL_CreateWindowFrom">SDL_CreateWindowFrom - SDL Wiki</a>
\r
438 <h2><a name="SDL_DestroyWindow">SDL_DestroyWindow</a></h2>
\r
439 \83E
\83B
\83\93\83h
\83E
\82ð
\94j
\8aü
\82·
\82é
\r
441 <code>void SDL_DestroyWindow(SDL_Window* window)</code>
\r
442 <h3>
\88ø
\90\94</h3>
\r
443 <table border="1" summary="SDL_DestroyWindow">
\r
444 <tr><td>window</td><td>
\94j
\8aü
\82·
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
446 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
447 <a href="#SDL_CreateWindow">SDL_CreateWindow</a><br>
\r
448 <a href="#SDL_CreateWindowFrom">SDL_CreateWindowFrom</a><br>
\r
449 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
450 <a href="https://wiki.libsdl.org/SDL_DestroyWindow">SDL_DestroyWindow - SDL Wiki</a>
\r
453 <h2><a name="SDL_DisableScreenSaver">SDL_DisableScreenSaver</a></h2>
\r
454 \83X
\83N
\83\8a\81[
\83\93\83Z
\81[
\83o
\81[
\82Å
\89æ
\96Ê
\82ª
\90Ø
\82è
\91Ö
\82í
\82é
\82±
\82Æ
\82ð
\96h
\82®
\r
456 <code>void SDL_DisableScreenSaver(void)</code>
\r
458 \83X
\83N
\83\8a\81[
\83\93\83Z
\81[
\83o
\81[
\82ð
\96³
\8cø
\82É
\82µ
\82Ä
\82à, SDL
\82ª
\8fI
\97¹
\82·
\82ê
\82Î
\8e©
\93®
\93I
\82É
\8dÄ
\82Ñ
\97L
\8cø
\82É
\82È
\82é.
\r
459 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
460 <a href="#SDL_EnableScreenSaver">SDL_EnableScreenSaver</a><br>
\r
461 <a href="#SDL_IsScreenSaverEnabled">SDL_IsScreenSaverEnabled</a><br>
\r
462 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
463 <a href="https://wiki.libsdl.org/SDL_DisableScreenSaver">SDL_DisableScreenSaver - SDL Wiki</a>
\r
466 <h2><a name="SDL_EnableScreenSaver">SDL_EnableScreenSaver</a></h2>
\r
467 \83X
\83N
\83\8a\81[
\83\93\83Z
\81[
\83o
\81[
\82Å
\89æ
\96Ê
\82ª
\90Ø
\82è
\91Ö
\82í
\82é
\82±
\82Æ
\82ð
\94F
\82ß
\82é
\r
469 <code>void SDL_EnableScreenSaver(void)</code>
\r
470 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
471 <a href="#SDL_DisableScreenSaver">SDL_DisableScreenSaver</a><br>
\r
472 <a href="#SDL_IsScreenSaverEnabled">SDL_IsScreenSaverEnabled</a><br>
\r
473 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
474 <a href="https://wiki.libsdl.org/SDL_EnableScreenSaver">SDL_EnableScreenSaver - SDL Wiki</a>
\r
477 <h2><a name="SDL_GL_BindTexture">SDL_GL_BindTexture</a></h2>
\r
478 OpenGL
\83v
\83\8a\83~
\83e
\83B
\83u
\82Ì
\83\8c\83\93\83_
\83\8a\83\93\83O
\82Å
\8eg
\82¤
\82½
\82ß
\82ÉOpenGL/ES/ES2
\83e
\83N
\83X
\83`
\83\83\82ð
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\83o
\83C
\83\93\83h
\82·
\82é
\r
480 <code>int SDL_GL_BindTexture(SDL_Texture *texture, float *texw, float *texh)</code>
\r
481 <h3>
\88ø
\90\94</h3>
\r
482 <table border="1" summary="SDL_GL_BindTexture">
\r
483 <tr><td>texture</td><td>OpenGL/ES/ES2
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\83o
\83C
\83\93\83h
\82·
\82é
\83e
\83N
\83X
\83`
\83\83</td></tr>
\r
484 <tr><td>texw</td><td>
\83e
\83N
\83X
\83`
\83\83\82Ì
\95\9d\82ð
\91ã
\93ü
\82·
\82éfloat
\8c^
\82Ì
\95Ï
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^,
\95K
\97v
\82È
\82¢
\8fê
\8d\87\82ÍNULL</td></tr>
\r
485 <tr><td>texh</td><td>
\83e
\83N
\83X
\83`
\83\83\82Ì
\8d\82\82³
\82ð
\91ã
\93ü
\82·
\82éfloat
\8c^
\82Ì
\95Ï
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^,
\95K
\97v
\82È
\82¢
\8fê
\8d\87\82ÍNULL</td></tr>
\r
487 <h3>
\96ß
\82è
\92l</h3>
\r
488 \90³
\8fí
\82Ì
\82Æ
\82«0,
\91\80\8dì
\82ª
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\82Æ
\82«
\82Í-1
\r
490 \92l
\82ª
\93¾
\82ç
\82ê
\82½
\82È
\82ç, texw
\82Ætexh
\82É
\82Í
\93¾
\82ç
\82ê
\82½
\83e
\83N
\83X
\83`
\83\83\82É
\93K
\82µ
\82½
\95\9d\82Æ
\8d\82\82³
\82ª
\91ã
\93ü
\82³
\82ê
\82Ä
\82¢
\82é.
\r
491 \82Ù
\82Æ
\82ñ
\82Ç
\82Ì
\8fê
\8d\87,
\97¼
\95û
\82Ì
\92l
\82Í1.0
\82Å
\82 \82é.
\r
492 \82µ
\82©
\82µ, the GL_ARB_texture_rectangle
\8ag
\92£
\82É
\91Î
\89\9e\82µ
\82½
\8aÂ
\8b«
\82Å
\82Í,
\82±
\82ê
\82ç
\82Ì
\92l
\82Í
\83e
\83N
\83X
\83`
\83\83\82Ì
\90¶
\90¬
\82Ì
\82½
\82ß
\82É
\8eg
\82í
\82ê
\82½
\8eÀ
\8dÛ
\82Ì
\83s
\83N
\83Z
\83\8b\90\94\82Ì
\95\9d\82Æ
\8d\82\82³
\82Å
\82 \82é.
\r
493 \82±
\82Ì
\82±
\82Æ
\82ÍOpenGL
\82É
\83e
\83N
\83X
\83`
\83\83\82Ì
\8dÀ
\95W
\82ð
\97^
\82¦
\82é
\8fê
\8d\87\82É
\8dl
\97¶
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
494 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
495 <a href="#SDL_GL_UnbindTexture">SDL_GL_UnbindTexture</a><br>
\r
496 <a href="#SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a><br>
\r
497 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
498 <a href="https://wiki.libsdl.org/SDL_GL_BindTexture">SDL_GL_BindTexture - SDL Wiki</a>
\r
501 <h2><a name="SDL_GL_CreateContext">SDL_GL_CreateContext</a></h2>
\r
502 OpenGL
\83E
\83B
\83\93\83h
\83E
\82Å
\8eg
\82¤
\82½
\82ß
\82ÉOpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82µ,
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\82·
\82é
\r
504 <code>SDL_GLContext SDL_GL_CreateContext(SDL_Window* window)</code>
\r
505 <h3>
\88ø
\90\94</h3>
\r
506 <table border="1" summary="SDL_GL_CreateContext">
\r
507 <tr><td>window</td><td>
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\8aÖ
\98A
\95t
\82¯
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
509 <h3>
\96ß
\82è
\92l</h3>
\r
510 window
\82É
\8aÖ
\98A
\95t
\82¯
\82ç
\82ê
\82½OpenGL
\83R
\83\93\83e
\83L
\83X
\83g,
\83G
\83\89\81[
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
511 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
513 \90V
\82½
\82ÉOpenGL
\82ð
\8eg
\82¤Windows
\83\86\81[
\83U
\81[
\82Í,
\97ð
\8ej
\93I
\82È
\97\9d\97R
\82Å, OpenGL
\83o
\81[
\83W
\83\87\83\931.1
\82Å
\92Ç
\89Á
\82³
\82ê
\82½GL
\8aÖ
\90\94\82Í
\83f
\83t
\83H
\83\8b\83g
\82Å
\82Í
\8eg
\82¦
\82È
\82¢
\82±
\82Æ
\82É
\92\8d\88Ó
\82µ
\82È
\82¯
\82ê
\82Î
\82È
\82ç
\82È
\82¢.
\r
514 \82±
\82ê
\82ç
\82Ì
\8aÖ
\90\94\82Í, OpenGL
\8ag
\92£
\82ð
\88µ
\82¤
\83\89\83C
\83u
\83\89\83\8a,
\82Ü
\82½
\82Í<a href="#SDL_GL_GetProcAddress">SDL_GL_GetProcAddress()</a>
\82Æ
\82»
\82Ì
\8aÖ
\98A
\82Ì
\8aÖ
\90\94\82Å
\8eÀ
\8ds
\92\86\82É
\93Ç
\82Ý
\8d\9e\82Þ
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
515 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
516 <a href="#SDL_GL_DeleteContext">SDL_GL_DeleteContext</a><br>
\r
517 <a href="#SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a><br>
\r
518 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
519 <a href="https://wiki.libsdl.org/SDL_GL_CreateContext">SDL_GL_CreateContext - SDL Wiki</a>
\r
522 <h2><a name="SDL_GL_DeleteContext">SDL_GL_DeleteContext</a></h2>
\r
523 OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\8dí
\8f\9c\82·
\82é
\r
525 <code>void SDL_GL_DeleteContext(SDL_GLContext context)</code>
\r
526 <h3>
\88ø
\90\94</h3>
\r
527 <table border="1" summary="SDL_GL_DeleteContext">
\r
528 <tr><td>context</td><td>
\8dí
\8f\9c\82·
\82éOpenGL
\83R
\83\93\83e
\83L
\83X
\83g</td></tr>
\r
530 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
531 <a href="#SDL_GL_CreateContext">SDL_GL_CreateContext</a><br>
\r
532 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
533 <a href="https://wiki.libsdl.org/SDL_GL_DeleteContext">SDL_GL_DeleteContext - SDL Wiki</a>
\r
536 <h2><a name="SDL_GL_ExtensionSupported">SDL_GL_ExtensionSupported</a></h2>
\r
537 \83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82ÅOpenGL
\8ag
\92£
\82ª
\91Î
\89\9e\82µ
\82Ä
\82¢
\82é
\82È
\82ç
\90^
\82ð
\96ß
\82·
\r
539 <code>SDL_bool SDL_GL_ExtensionSupported(const char* extension)</code>
\r
540 <h3>
\88ø
\90\94</h3>
\r
541 <table border="1" summary="SDL_GL_ExtensionSupported">
\r
542 <tr><td>extension</td><td>
\83`
\83F
\83b
\83N
\82·
\82é
\8ag
\92£
\82Ì
\96¼
\91O</td></tr>
\r
544 <h3>
\96ß
\82è
\92l</h3>
\r
545 \8ag
\92£
\82É
\91Î
\89\9e\82µ
\82Ä
\82¢
\82ê
\82ÎSDL_TRUE,
\82µ
\82Ä
\82¢
\82È
\82¯
\82ê
\82ÎSDL_FALSE
\82ð
\96ß
\82·
\r
548 \82±
\82Ì
\8aÖ
\90\94\82Í
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\93®
\8dì
\82·
\82é.
\r
549 \82Â
\82Ü
\82è,
\83R
\83\93\83e
\83L
\83X
\83g
\82ª
\90¶
\90¬
\82³
\82ê
\82Ä
\82¢
\82Ä,
\8aÖ
\90\94\82ª
\8cÄ
\82Î
\82ê
\82é
\91O
\82É
\83J
\83\8c\83\93\83g
\82Å
\82 \82é
\95K
\97v
\82ª
\82 \82é.
\r
550 \90¶
\90¬
\82µ
\82½
\83R
\83\93\83e
\83L
\83X
\83g
\91S
\82Ä
\82ª
\93¯
\82¶
\82æ
\82¤
\82É
\8ag
\92£
\82ª
\8eg
\82¦
\82é,
\82Ü
\82½
\82Í
\8aù
\82É
\91¶
\8dÝ
\82·
\82é
\83R
\83\93\83e
\83L
\83X
\83g
\82©
\82ç
\8dÄ
\90¶
\90¬
\82µ
\82½
\82Æ
\82«
\93¯
\82¶
\8ag
\92£
\82ª
\8eg
\82¦
\82é
\82Æ
\82Ý
\82È
\82µ
\82Ä
\82Í
\82È
\82ç
\82È
\82¢.
\r
553 \82Ü
\82½,
\91å
\82«
\82È
\95\89\89×
\82ª
\8a|
\82©
\82é
\89Â
\94\
\90«
\82ª
\82 \82é.
\r
554 \82±
\82Ì
\8aÖ
\90\94O(1)
\82Å
\82Í
\82È
\82¢.
\r
555 \95K
\97v
\82È
\82Æ
\82«
\82É
\96\88\89ñ
\82±
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\82Ì
\82Å
\82Í
\82È
\82, GL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82µ
\82½
\8cã
\82É
\8eæ
\82è
\88µ
\82¤
\8ag
\92£
\82ð
\83`
\83F
\83b
\83N
\82µ
\82Ä
\82»
\82Ì
\8fî
\95ñ
\82ð
\95Û
\91¶
\82·
\82é
\82×
\82«
\82Å
\82 \82é.
\r
557 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
558 <a href="https://wiki.libsdl.org/SDL_GL_ExtensionSupported">SDL_GL_ExtensionSupported - SDL Wiki</a>
\r
561 <h2><a name="SDL_GL_GetAttribute">SDL_GL_GetAttribute</a></h2>
\r
562 \83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\91®
\90«
\82Ì
\8c»
\8dÝ
\82Ì
\92l
\82ð
\93¾
\82é
\r
564 <code>int SDL_GL_GetAttribute(SDL_GLattr attr, int* value)</code>
\r
565 <h3>
\88ø
\90\94</h3>
\r
566 <table border="1" summary="SDL_GL_GetAttribute">
\r
567 <tr><td>attr</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\91®
\90« (<a href="#SDL_GLattr">SDL_GLattr</a>
\97ñ
\8b\93\91Ì)</td></tr>
\r
568 <tr><td>value</td><td>
\8c»
\8dÝ
\82Ìattr
\82Ì
\92l
\82ð
\91ã
\93ü
\82·
\82é
\95Ï
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^</td></tr>
\r
570 <h3>
\96ß
\82è
\92l</h3>
\r
571 \90³
\8fí
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82ð
\96ß
\82·.
\r
572 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
573 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
574 <a href="#SDL_GL_ResetAttributes">SDL_GL_ResetAttributes</a><br>
\r
575 <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a><br>
\r
576 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
577 <a href="https://wiki.libsdl.org/SDL_GL_GetAttribute">SDL_GL_GetAttribute - SDL Wiki</a>
\r
580 <h2><a name="SDL_GL_GetCurrentContext">SDL_GL_GetCurrentContext</a></h2>
\r
581 \93®
\8dì
\92\86\82Ì
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\93¾
\82é
\r
583 <code>SDL_GLContext SDL_GL_GetCurrentContext(void)</code>
\r
584 <h3>
\96ß
\82è
\92l</h3>
\r
585 \93®
\8dì
\92\86\82Ì
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\96ß
\82·.
\8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
586 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
587 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
588 <a href="#SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a><br>
\r
589 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
590 <a href="https://wiki.libsdl.org/SDL_GL_GetCurrentContext">SDL_GL_GetCurrentContext - SDL Wiki</a>
\r
593 <h2><a name="SDL_GL_GetCurrentWindow">SDL_GL_GetCurrentWindow</a></h2>
\r
594 \93®
\8dì
\92\86\82ÌOpenGL
\83E
\83B
\83\93\83h
\83E
\82ð
\93¾
\82é
\r
596 <code>SDL_Window* SDL_GL_GetCurrentWindow(void)</code>
\r
597 <h3>
\96ß
\82è
\92l</h3>
\r
598 \90¬
\8c÷
\82Ì
\82Æ
\82«
\93®
\8dì
\92\86\82ÌOpenGL
\82ð,
\8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
599 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
600 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
601 <a href="https://wiki.libsdl.org/SDL_GL_GetCurrentWindow">SDL_GL_GetCurrentWindow - SDL Wiki</a>
\r
604 <h2><a name="SDL_GL_GetDrawableSize">SDL_GL_GetDrawableSize</a></h2>
\r
605 (glViewport
\82Å
\8eg
\82¤
\82½
\82ß
\82É)
\83E
\83B
\83\93\83h
\83E
\93à
\82Ì
\95`
\89æ
\97Ì
\88æ
\82Ì
\83T
\83C
\83Y
\82ð
\93¾
\82é
\r
607 <code>void SDL_GL_GetDrawableSize(SDL_Window* window, int* w, int* h)</code>
\r
608 <h3>
\88ø
\90\94</h3>
\r
609 <table border="1" summary="SDL_GL_GetDrawableSize">
\r
610 <tr><td>window</td><td>
\95`
\89æ
\97Ì
\88æ
\82Ì
\83T
\83C
\83Y
\82ð
\8b\81\82ß
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
611 <tr><td>w</td><td>
\95\9d\82ð
\91ã
\93ü
\82·
\82é
\95Ï
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^, NULL
\82Å
\82à
\82æ
\82¢</td></tr>
\r
612 <tr><td>h</td><td>
\8d\82\82³
\82ð
\91ã
\93ü
\82·
\82é
\95Ï
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^, NULL
\82Å
\82à
\82æ
\82¢</td></tr>
\r
615 \8d\82DPI
\95`
\89æ
\97Ì
\88æ
\82Ì
\83\8c\83\93\83_
\83\8a\83\93\83O
\82Ì
\8fê
\8d\87,
\97á
\82¦
\82Î
\8d\82DPI(Apple
\82Å
\82ÍRetina
\82Æ
\8cÄ
\82Î
\82ê
\82é)
\82É
\91Î
\89\9e\82µ
\82½
\8aÂ
\8b«
\82Å<a href="sdl2-hints.html#SDL_WINDOW_ALLOW_HIGHDPI">SDL_WINDOW_ALLOW_HIGHDPI</a>
\82Å
\90¶
\90¬
\82µ
\82½
\83E
\83B
\83\93\83h
\83E
\82Å
\82Í,
\82±
\82Ì
\8aÖ
\90\94\82Ì
\92l
\82Æ<a href="#SDL_GetWindowSize">SDL_GetWindowSize()</a>
\82Ì
\92l
\82Í
\82¨
\82»
\82ç
\82
\88Ù
\82È
\82é.
\r
616 \82»
\82µ
\82Ä<a href="sdl2-hints.html#SDL_HINT_VIDEO_HIGHDPI_DISABLED">SDL_HINT_VIDEO_HIGHDPI_DISABLED</a>
\82Å
\82Í
\96³
\8cø
\82É
\82Å
\82«
\82È
\82¢.
\r
617 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
618 <a href="#SDL_GetWindowSize">SDL_GetWindowSize</a><br>
\r
619 <a href="#SDL_CreateWindow">SDL_CreateWindow</a><br>
\r
620 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
621 <a href="https://wiki.libsdl.org/SDL_GL_GetDrawableSize">SDL_GL_GetDrawableSize - SDL Wiki</a>
\r
624 <h2><a name="SDL_GL_GetProcAddress">SDL_GL_GetProcAddress</a></h2>
\r
625 \96¼
\91O
\82ÅOpenGL
\82Ì
\8aÖ
\90\94\82ð
\93¾
\82é
\r
627 <code>void* SDL_GL_GetProcAddress(const char* proc)</code>
\r
628 <h3>
\88ø
\90\94</h3>
\r
629 <table border="1" summary="SDL_GL_GetProcAddress">
\r
630 <tr><td>proc</td><td>OpenGL
\8aÖ
\90\94\82Ì
\96¼
\91O</td></tr>
\r
632 <h3>
\96ß
\82è
\92l</h3>
\r
633 \82»
\82Ì
\96¼
\91O
\82ÌOpenGL
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82ð
\96ß
\82·.
\r
634 \96ß
\82³
\82ê
\82½
\83|
\83C
\83\93\83^
\82Í
\82»
\82Ì
\8aÖ
\90\94\82É
\93K
\82µ
\82½
\83V
\83O
\83j
\83`
\83\83\82Å
\83L
\83\83\83X
\83g
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
637 GL
\83\89\83C
\83u
\83\89\83\8a\82ð
\8eÀ
\8ds
\92\86\82É<a href="#SDL_GL_LoadLibrary">SDL_GL_LoadLibrary()</a>
\82Å
\93Ç
\82Ý
\8d\9e\82ñ
\82¾
\82È
\82ç
\82Î,
\91S
\82Ä
\82ÌGL
\8aÖ
\90\94\82Í
\82±
\82Ì
\95û
\96@
\82Å
\93Ç
\82Ý
\8fo
\82³
\82È
\82¯
\82ê
\82Î
\82È
\82ç
\82È
\82¢.
\r
638 \92Ê
\8fí
\82ÍOpenGL
\8ag
\92£
\82Ì
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82ð
\93Ç
\82Ý
\8fo
\82·
\82½
\82ß
\82É
\8eg
\82¤.
\r
641 OpenGL
\82Ì
\8aÖ
\90\94\82ð
\8c\9f\8dõ
\82·
\82é
\82Ì
\82Í
\82¢
\82
\82Â
\82©
\82Ì
\93ï
\93_
\82ª
\82 \82è,
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\82Í
\93Á
\82É
\92\8d\88Ó
\82ð
\97v
\82·
\82é.
\r
642 \82»
\82ê
\82Å
\82à
\92\8d\88Ó
\90[
\82
\83R
\81[
\83f
\83B
\83\93\83O
\82·
\82ê
\82Î,
\8aÂ
\8b«
\82É
\88Ë
\91¶
\82·
\82é
\83R
\81[
\83h
\82È
\82µ
\82Å
\82±
\82ê
\82ç
\82Ì
\93ï
\93_
\82ð
\88µ
\82¤
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
645 <li>Windows
\82Å
\82Í
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82Í
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\8cÅ
\97L
\82Å
\82 \82é.
\r
646 \82Â
\82Ü
\82è<a href="#SDL_GL_GetProcAddress">SDL_GL_GetProcAddress()</a>
\82ð
\8cÄ
\82Ô
\91O
\82ÉGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82µ
\83J
\83\8c\83\93\83g
\82É
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
647 \83R
\83\93\83e
\83L
\83X
\83g
\82ð
\8dÄ
\90¶
\90¬,
\82Ü
\82½
\82Í2
\82Â
\96Ú
\82Ì
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82µ
\82½
\82Æ
\82«,
\8aù
\82É
\91¶
\8dÝ
\82·
\82é
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82Í
\91S
\82Ä
\8eg
\82¦
\82È
\82¢
\82Æ
\82Ý
\82È
\82·
\95K
\97v
\82ª
\82 \82é.
\r
648 \82±
\82ê
\82Í(
\8c»
\8dÝ
\82Í)Windows
\8cÅ
\97L
\82Ì
\90§
\8cÀ
\82¾
\82ª,
\8eÀ
\8dÛ
\82Í
\91½
\82
\82Ì
\83h
\83\89\83C
\83o
\82É
\82Í
\82±
\82Ì
\90§
\8cÀ
\82Í
\82È
\82¢.
\r
649 \82µ
\82©
\82µ, WGL API
\82Ì
\83h
\83L
\83\85\83\81\83\93\83g
\82É
\82Í
\8d¡
\82Å
\82à
\82»
\82Ì
\82æ
\82¤
\82É
\93®
\8dì
\82·
\82é
\82Æ
\8bL
\8fq
\82³
\82ê
\82Ä
\82¢
\82Ä,
\82±
\82ê
\82ð
\8dl
\97¶
\82µ
\82È
\82¯
\82ê
\82Î
\83N
\83\89\83b
\83V
\83\85\82·
\82é
\82Æ
\8dl
\82¦
\82é
\82×
\82«
\82¾.
\r
650 \8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82ð
\83R
\83s
\81[
\82µ
\95Û
\91¶
\82µ
\82½
\8fê
\8d\87,
\82»
\82Ì
\83\89\83C
\83t
\83T
\83C
\83N
\83\8b\82Í
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\8f]
\82¤.
\r
651 <li>X11
\82Å
\82Í,
\82±
\82Ì
\8aÖ
\90\94\82ª
\96ß
\82·
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82Í
\82 \82ç
\82ä
\82é
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\97L
\8cø
\82Å
\82 \82é.
\r
652 \82»
\82µ
\82Ä
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82·
\82é
\91O
\82Å
\82à
\8c\9f\8dõ
\82Å
\82«
\82é.
\r
653 \82±
\82ê
\82Í
\8f
\82È
\82
\82Æ
\82à
\82¢
\82
\82Â
\82©
\82ÌOpenGL
\82Ì
\8eÀ
\91\95\82Å,
\91¶
\8dÝ
\82µ
\82È
\82¢
\8aÖ
\90\94\82ð
\8c\9f\8dõ
\82µ
\82½
\82Æ
\82«,
\88À
\91S
\82Å
\82Í*
\82È
\82¢*NULL
\82Å
\82È
\82¢
\8c\8b\89Ê
\82ð
\93¾
\82é
\82±
\82Æ
\82ð
\88Ó
\96¡
\82·
\82é.
\r
654 \93®
\8dì
\92\86\82ÌGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\8aÖ
\90\94\82ª
\8eÀ
\8dÛ
\82É
\8eg
\82¦
\82é
\82©
\94Û
\82©
\82ð, <a href="#SDL_GL_ExtensionSupported">SDL_GL_ExtensionSupported()</a>
\82Å
\82»
\82Ì
\8ag
\92£
\82Ì
\91¶
\8dÝ
\82ð
\83`
\83F
\83b
\83N
\82·
\82é
\82±
\82Æ
\82â,
\8eg
\97p
\92\86\82Ì
\83o
\81[
\83W
\83\87\83\93\82ÌOpenGL
\82Å
\82»
\82Ì
\8aÖ
\90\94\82ª
\92ñ
\8b\9f\82³
\82ê
\82Ä
\82¢
\82é
\82©
\82ð
\8am
\94F
\82·
\82é
\82±
\82Æ
\82Å,
\8cÄ
\82Ô
\91O
\82É
\8fí
\82É
\8am
\94F
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
655 <li>
\91S
\82Ä
\82Ì
\8aÂ
\8b«
\82Å,
\88ê
\95\94\82ÌOpenGL
\82Ì
\83h
\83\89\83C
\83o
\82Í
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\8aÖ
\90\94\82Ì
\8fê
\8d\87\82ÍNULL
\82ð
\96ß
\82·.
\r
656 \82µ
\82©
\82µ
\82»
\82Ì
\93®
\8dì
\82ð
\8aú
\91Ò
\82µ
\82Ä
\82Í
\82È
\82ç
\82È
\82¢.
\r
657 \8ag
\92£
\82Ì
\91¶
\8dÝ
\82ð
\83`
\83F
\83b
\83N
\82µ
\82½
\82ª,
\82»
\82ê
\82Å
\82àNULL
\82ð
\93¾
\82½
\82È
\82ç
\82Î,
\82»
\82Ì
\8ag
\92£
\82Í
\8eg
\82¦
\82È
\82¢
\82Æ
\82Ý
\82È
\82·
\82×
\82«
\82¾.
\r
658 \82±
\82ê
\82Í
\83h
\83\89\83C
\83o
\82Ì
\83o
\83O
\82©
\82à
\82µ
\82ê
\82È
\82¢.
\82µ
\82©
\82µ,
\82¢
\82¸
\82ê
\82É
\82¹
\82æ
\82±
\82Ì
\95û
\96@
\82È
\82ç
\82Î
\83R
\81[
\83h
\82Í
\8c\98\98S
\82É
\82È
\82é.
\r
659 <li>Linux/Unix
\82Å
\82 \82é
\82Æ
\82¢
\82¤
\82¾
\82¯
\82ÅX11
\82ð
\8eg
\82Á
\82Ä
\82¢
\82é
\82Æ
\82Ý
\82È
\82µ
\82Ä
\82Í
\82È
\82ç
\82È
\82¢.
\r
660 \82»
\82ê
\82Æ
\92u
\82«
\8a·
\82í
\82é
\8e\9f\90¢
\91ã
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83T
\81[
\83o
\82ª
\91Ò
\82¿
\8d\
\82¦
\82Ä
\82¢
\82é.
\r
661 \82»
\82µ
\82Ä
\82»
\82ê
\82Í
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82à
\93¯
\97l
\82©
\82à
\82µ
\82ê
\82È
\82¢.
\r
662 <li>OpenGL
\8aÖ
\90\94\82Ö
\82Ì
\83|
\83C
\83\93\83^
\82Í
\83T
\83\93\83v
\83\8b\83R
\81[
\83h
\82Ì
\82æ
\82¤
\82ÉAPIENTRY
\82Å
\90é
\8c¾
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
663 \82±
\82ê
\82Í
\8aÂ
\8b«
\82É
\8f]
\82Á
\82½
\8cÄ
\8fo
\8bK
\96ñ
\82Å
\82 \82é
\82±
\82Æ
\82ª
\95Û
\8fá
\82³
\82ê
\82Ä
\82¢
\82Ä, (win32
\82Å)
\83X
\83^
\83b
\83N
\94j
\89ó
\82Ì
\96â
\91è
\82ð
\94ð
\82¯
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
665 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
666 <a href="#SDL_GL_LoadLibrary">SDL_GL_LoadLibrary</a><br>
\r
667 <a href="#SDL_GL_UnloadLibrary">SDL_GL_UnloadLibrary</a><br>
\r
668 <a href="#SDL_GL_ExtensionSupported">SDL_GL_ExtensionSupported</a><br>
\r
669 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
670 <a href="https://wiki.libsdl.org/SDL_GL_GetProcAddress">SDL_GL_GetProcAddress - SDL Wiki</a>
\r
673 <h2><a name="SDL_GL_GetSwapInterval">SDL_GL_GetSwapInterval</a></h2>
\r
674 \83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\8cð
\8a·
\83C
\83\93\83^
\81[
\83o
\83\8b\82ð
\93¾
\82é
\r
676 <code>int SDL_GL_GetSwapInterval(void)</code>
\r
678 \90\82\92¼
\8bA
\90ü
\93¯
\8aú
\82ª
\91¶
\8dÝ
\82µ
\82È
\82¢
\82Æ
\82«0,
\83o
\83b
\83t
\83@
\8cð
\8a·
\82ª
\90\82\92¼
\8bA
\90ü
\82Å
\93¯
\8aú
\82·
\82é
\82Æ
\82«1,
\90\82\92¼
\8bA
\90ü
\93¯
\8aú
\82É
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\82Æ
\82«-1
\82ð
\96ß
\82·.
\r
679 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
680 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
681 <a href="#SDL_GL_SetSwapInterval">SDL_GL_SetSwapInterval</a><br>
\r
682 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
683 <a href="https://wiki.libsdl.org/SDL_GL_GetSwapInterval">SDL_GL_GetSwapInterval - SDL Wiki</a>
\r
686 <h2><a name="SDL_GL_LoadLibrary">SDL_GL_LoadLibrary</a></h2>
\r
687 OpenGL
\83\89\83C
\83u
\83\89\83\8a\82ð
\93®
\93I
\82É
\93Ç
\82Ý
\8d\9e\82Þ
\r
689 <code>int SDL_GL_LoadLibrary(const char* path)</code>
\r
690 <h3>
\88ø
\90\94</h3>
\r
691 <table border="1" summary="SDL_GL_LoadLibrary">
\r
692 <tr><td>path</td><td>
\8aÂ
\8b«
\82É
\88Ë
\91¶
\82·
\82éOpenGL
\83\89\83C
\83u
\83\89\83\8a\82Ì
\96¼
\91O
\82Ì, NULL
\82Ì
\82Æ
\82«
\83f
\83t
\83H
\83\8b\83g
\82ÌOpenGL
\83\89\83C
\83u
\83\89\83\8a\82ð
\8aJ
\82</td></tr>
\r
694 <h3>
\96ß
\82è
\92l</h3>
\r
695 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
696 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
699 \83r
\83f
\83I
\83h
\83\89\83C
\83o
\82ð
\8f\89\8aú
\89»
\82µ
\82½
\8cã
\82¾
\82ªOpenGL
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\91O
\82É
\8ds
\82¤
\95K
\97v
\82ª
\82 \82é.
\r
700 \82à
\82µOpenGL
\83\89\83C
\83u
\83\89\83\8a\82ª
\93Ç
\82Ý
\8d\9e\82ß
\82È
\82¯
\82ê
\82Î
\8dÅ
\8f\89\82ÌOpenGL
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\8e\9e\93_
\82Å
\83f
\83t
\83H
\83\8b\83g
\82Ì
\83\89\83C
\83u
\83\89\83\8a\82ª
\93Ç
\82Ý
\8d\9e\82Ü
\82ê
\82é.
\r
703 \82à
\82µ
\82±
\82ê
\82ð
\8ds
\82Á
\82½
\82È
\82ç,
\83v
\83\8d\83O
\83\89\83\80\93à
\82Å
\8eg
\82¤
\8aÖ
\90\94\82Í
\91S
\82Ä<a href="#SDL_GL_GetProcAddress()">SDL_GL_GetProcAddress</a>
\82Å
\93®
\93I
\83\8a\83\93\83N
\83\89\83C
\83u
\83\89\83\8a\82©
\82ç
\8al
\93¾
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
705 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
706 <a href="#SDL_GL_GetProcAddress">SDL_GL_GetProcAddress</a><br>
\r
707 <a href="#SDL_GL_UnloadLibrary">SDL_GL_UnloadLibrary</a><br>
\r
708 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
709 <a href="https://wiki.libsdl.org/SDL_GL_LoadLibrary">SDL_GL_LoadLibrary - SDL Wiki</a>
\r
712 <h2><a name="SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a></h2>
\r
713 OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ðOpenGL
\83E
\83B
\83\93\83h
\83E
\82É
\83\8c\83\93\83_
\83\8a\83\93\83O
\82·
\82é
\82æ
\82¤
\82É
\90Ý
\92è
\82·
\82é
\r
715 <code>int SDL_GL_MakeCurrent(SDL_Window* window, SDL_GLContext context)
\r
717 <h3>
\88ø
\90\94</h3>
\r
718 <table border="1" summary="SDL_GL_MakeCurrent">
\r
719 <tr><td>window</td><td>
\83R
\83\93\83e
\83L
\83X
\83g
\82É
\8aÖ
\98A
\95t
\82¯
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
720 <tr><td>context</td><td>
\83E
\83B
\83\93\83h
\83E
\82É
\8aÖ
\98A
\95t
\82¯
\82éOpenGL
\83R
\83\93\83e
\83L
\83X
\83g</td></tr>
\r
722 <h3>
\96ß
\82è
\92l</h3>
\r
723 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
724 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
726 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
727 <a href="#SDL_GL_CreateContext">SDL_GL_CreateContext</a><br>
\r
728 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
729 <a href="https://wiki.libsdl.org/SDL_GL_MakeCurrent">SDL_GL_MakeCurrent - SDL Wiki</a>
\r
732 <h2><a name="SDL_GL_ResetAttributes">SDL_GL_ResetAttributes</a></h2>
\r
733 OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\91®
\90«
\82ð
\91S
\82Ä
\8c³
\82Ì
\92l
\82É
\83\8a\83Z
\83b
\83g
\82·
\82é
\r
735 <code>void SDL_GL_ResetAttributes(void)</code>
\r
736 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
737 <a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a><br>
\r
738 <a href="#SDL_GL_SetAttribute">SDL_GL_SetAttribute</a><br>
\r
739 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
740 <a href="https://wiki.libsdl.org/SDL_GL_ResetAttributes">SDL_GL_ResetAttributes - SDL Wiki</a>
\r
743 <h2><a name="SDL_GL_SetAttribute">SDL_GL_SetAttribute</a></h2>
\r
744 \83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\91O
\82ÉOpenGL
\83E
\83B
\83\93\83h
\83E
\82Ì
\91®
\90«
\82ð
\90Ý
\92è
\82·
\82é
\r
746 <code>int SDL_GL_SetAttribute(SDL_GLattr attr, int value)
\r
748 <h3>
\88ø
\90\94</h3>
\r
749 <table border="1" summary="SDL_GL_SetAttribute">
\r
750 <tr><td>attr</td><td>
\90Ý
\92è
\82·
\82éOpenGL
\91®
\90« (
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ)</td></tr>
\r
751 <tr><td>value</td><td>
\90Ý
\92è
\82·
\82é
\91®
\90«
\82Ì
\92l</td></tr>
\r
753 <h3>
\96ß
\82è
\92l</h3>
\r
754 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
755 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
758 \82±
\82Ì
\8aÖ
\90\94\82ÍOpenGL
\91®
\90«attr
\82Ì
\92l
\82ðvalue
\82É
\90Ý
\92è
\82·
\82é.
\r
759 \91®
\90«
\82ÍOpenGL
\83E
\83B
\83\93\83h
\83E
\82ð
\90¶
\90¬
\82·
\82é
\91O
\82É
\90Ý
\92è
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
760 \97v
\8b\81\82µ
\82½
\92l
\82Æ
\82Í
\88Ù
\82È
\82é
\82±
\82Æ
\82ª
\82 \82è
\82¤
\82é
\82Ì
\82Å, OpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82ð
\90¶
\90¬
\82µ
\82½
\8cã
\82É<a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute()</a>
\82Å
\92l
\82ð
\83`
\83F
\83b
\83N
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
763 attr
\82Í<a href="#SDL_GLattr">SDL_GLattr</a>
\97ñ
\8b\93\91Ì
\82Ì
\92l
\82Ì1
\82Â
\82Å
\82 \82é.
\r
765 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
766 <a href="#SDL_GL_ResetAttributes">SDL_GL_ResetAttributes</a><br>
\r
767 <a href="#SDL_GL_GetAttribute">SDL_GL_GetAttribute</a><br>
\r
768 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
769 <a href="https://wiki.libsdl.org/SDL_GL_SetAttribute">SDL_GL_SetAttribute - SDL Wiki</a>
\r
772 <h2><a name="SDL_GL_SetSwapInterval">SDL_GL_SetSwapInterval</a></h2>
\r
773 \83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82Ì
\8cð
\8a·
\83C
\83\93\83^
\81[
\83o
\83\8b\82ð
\90Ý
\92è
\82·
\82é
\r
775 <code>int SDL_GL_SetSwapInterval(int interval)</code>
\r
776 <h3>
\88ø
\90\94</h3>
\r
777 <table border="1" summary="SDL_GL_SetSwapInterval">
\r
778 <tr><td>interval</td><td>
\82·
\82®
\82É
\8dX
\90V
\82·
\82é
\82Æ
\82«0,
\90\82\92¼
\8bA
\90ü
\82Å
\93¯
\8aú
\82·
\82é
\82Æ
\82«1, late swap tearing
\82Ì
\82Æ
\82«-1 (
\8fÚ
\8d×
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ)</td></tr>
\r
780 <h3>
\96ß
\82è
\92l</h3>
\r
781 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\90Ý
\92è
\82µ
\82½
\8cð
\8a·
\83C
\83\93\83^
\81[
\83o
\83\8b\82ª
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\8fê
\8d\87\82Í-1
\82ð
\96ß
\82·.
\r
782 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
785 \88ê
\95\94\82Ì
\8f\88\97\9d\8cn
\82Å
\82Íinterval
\82É-1
\82ð
\8ew
\92è
\82·
\82é
\82±
\82Æ
\82Ålate swap tearing
\82ª
\97L
\8cø
\82É
\82È
\82é.
\r
786 Late swap tearing
\82Í
\90\82\92¼
\8bA
\90ü
\93¯
\8aú
\82Æ
\93¯
\82¶
\82æ
\82¤
\82É
\93
\82
\82ª,
\97^
\82¦
\82ç
\82ê
\82½
\83t
\83\8c\81[
\83\80\82Ì
\90\82\92¼
\8bA
\90ü
\93¯
\8aú
\82É
\8e¸
\94s
\82µ
\82½
\82Æ
\82«,
\83o
\83b
\83t
\83@
\82ð
\82½
\82¾
\82¿
\82É
\8cð
\8a·
\82·
\82é.
\82»
\82ê
\82É
\82æ
\82è
\83\86\81[
\83U
\82Ì
\83t
\83\8c\81[
\83\80\97\8e\82¿
\82É
\91Î
\82·
\82é
\95s
\89õ
\8a´
\82ð
\97}
\82¦
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
787 \83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\82ªlate swap tearing
\82ð
\97v
\8b\81\82µ
\82½
\82ª
\8f\88\97\9d\8cn
\82ª
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\82Æ
\82«,
\82±
\82Ì
\8aÖ
\90\94\82Í
\8e¸
\94s
\82µ-1
\82ð
\96ß
\82·.
\r
788 \82»
\82Ì
\8fê
\8d\87\82Í,
\8dÄ
\82Ñ
\82±
\82Ì
\8aÖ
\90\94\82ðinterval
\82ð1
\82É
\82µ
\82Ä
\8cÄ
\82Ô
\95K
\97v
\82ª
\82 \82é.
\r
791 Late swap tearing
\82Í,
\88ê
\95\94\82ÌglX
\83h
\83\89\83C
\83o
\82ÌGLX_EXT_swap_control_tear
\82Æ,
\88ê
\95\94\82ÌWindows
\83h
\83\89\83C
\83o
\82ÌWGL_EXT_swap_control_tear
\82Å
\8eÀ
\91\95\82³
\82ê
\82Ä
\82¢
\82é.
\r
793 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
794 <a href="#SDL_GL_GetSwapInterval">SDL_GL_GetSwapInterval</a><br>
\r
795 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
796 <a href="https://wiki.libsdl.org/SDL_GL_SetSwapInterval">SDL_GL_SetSwapInterval - SDL Wiki</a>
\r
799 <h2><a name="SDL_GL_SwapWindow">SDL_GL_SwapWindow</a></h2>
\r
800 OpenGL
\83\8c\83\93\83_
\83\8a\83\93\83O
\82Å
\83E
\83B
\83\93\83h
\83E
\82ð
\8dX
\90V
\82·
\82é
\r
802 <code>void SDL_GL_SwapWindow(SDL_Window* window)</code>
\r
803 <h3>
\88ø
\90\94</h3>
\r
804 <table border="1" summary="SDL_GL_SwapWindow">
\r
805 <tr><td>window</td><td>
\95Ï
\8dX
\82·
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
808 \82±
\82Ì
\8aÖ
\90\94\82Í
\83_
\83u
\83\8b\83o
\83b
\83t
\83@
\82ÌOpenGL
\83R
\83\93\83e
\83L
\83X
\83g
\82Å
\8eg
\82¤(
\83f
\83t
\83H
\83\8b\83g).
\r
809 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
810 <a href="https://wiki.libsdl.org/SDL_GL_SwapWindow">SDL_GL_SwapWindow - SDL Wiki</a>
\r
813 <h2><a name="SDL_GL_UnbindTexture">SDL_GL_UnbindTexture</a></h2>
\r
814 OpenGL
\83v
\83\8a\83~
\83e
\83B
\83u
\82Ì
\83\8c\83\93\83_
\83\8a\83\93\83O
\82Å
\8eg
\82Á
\82Ä
\82¢
\82éOpenGL/ES/ES2
\83e
\83N
\83X
\83`
\83\83\82ð
\83J
\83\8c\83\93\83g
\83R
\83\93\83e
\83L
\83X
\83g
\82©
\82ç
\83A
\83\93\83o
\83C
\83\93\83h
\82·
\82é
\r
816 <code>int SDL_GL_UnbindTexture(SDL_Texture *texture)</code>
\r
817 <h3>
\88ø
\90\94</h3>
\r
818 <table border="1" summary="SDL_GL_UnbindTexture">
\r
819 <tr><td>texture</td><td>
\83J
\83\8c\83\93\83gOpenGL/ES/ES2
\83R
\83\93\83e
\83L
\83X
\83g
\82©
\82ç
\83A
\83\93\83o
\83C
\83\93\83h
\82·
\82é
\83e
\83N
\83X
\83`
\83\83</td></tr>
\r
821 <h3>
\96ß
\82è
\92l</h3>
\r
822 \90³
\8fí
\82Ì
\82Æ
\82«0,
\91\80\8dì
\82ª
\91Î
\89\9e\82µ
\82Ä
\82¢
\82È
\82¢
\82Æ
\82«
\82Í-1
\r
824 \82±
\82ê
\82ç
\82Ì
\8aÖ
\90\94\82Ì
\8eg
\97p
\96@
\82Í<a hreg="#SDL_GL_BindTexture">SDL_GL_BindTexture()</a>
\82ð
\8eQ
\8fÆ
\82·
\82é
\82±
\82Æ
\r
825 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
826 <a href="#SDL_GL_BindTexture">SDL_GL_BindTexture</a><br>
\r
827 <a href="#SDL_GL_MakeCurrent">SDL_GL_MakeCurrent</a><br>
\r
828 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
829 <a href="https://wiki.libsdl.org/SDL_GL_UnbindTexture">SDL_GL_UnbindTexture - SDL Wiki</a>
\r
832 <h2><a name="SDL_GL_UnloadLibrary">SDL_GL_UnloadLibrary</a></h2>
\r
833 <a href="#SDL_GL_LoadLibrary">SDL_GL_LoadLibrary()</a>
\82Å
\93Ç
\82Ý
\8d\9e\82ñ
\82¾OpenGL
\83\89\83C
\83u
\83\89\83\8a\82ð
\89ð
\95ú
\82·
\82é
\r
835 <code>void SDL_GL_UnloadLibrary(void)</code>
\r
836 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
837 <a href="#SDL_GL_LoadLibrary">SDL_GL_LoadLibrary</a><br>
\r
838 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
839 <a href="https://wiki.libsdl.org/SDL_GL_UnloadLibrary">SDL_GL_UnloadLibrary - SDL Wiki</a>
\r
842 <h2><a name="SDL_GetClosestDisplayMode">SDL_GetClosestDisplayMode</a></h2>
\r
843 \97v
\8b\81\82É
\8dÅ
\82à
\8bß
\82¢
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\8c\9f\8dõ
\82·
\82é
\r
845 <code>SDL_DisplayMode* SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode* mode, SDL_DisplayMode* closest)
\r
847 <h3>
\88ø
\90\94</h3>
\r
848 <table border="1" summary="SDL_GetClosestDisplayMode">
\r
849 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
850 <tr><td>mode</td><td>
\97v
\8b\81\82·
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82µ
\82½<a href="#SDL_DisplayMode">SDL_DisplayMode</a>
\8d\
\91¢
\91Ì</td></tr>
\r
851 <tr><td>closest</td><td>
\8dÅ
\82à
\8bß
\82¢
\97\98\97p
\89Â
\94\
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82·
\82é<a href="#SDL_DisplayMode">SDL_DisplayMode</a>
\8d\
\91¢
\91Ì</td></td></tr>
\r
853 <h3>
\96ß
\82è
\92l</h3>
\r
854 \90¬
\8c÷
\82Ì
\82Æ
\82«closest
\82Ö
\82Ì
\83|
\83C
\83\93\83^,
\97\98\97p
\89Â
\94\
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ª
\82È
\82¢
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
855 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
857 \97\98\97p
\89Â
\94\
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ª
\8c\9f\8dõ
\82³
\82ê,
\97v
\8b\81\82Æ
\8dÅ
\82à
\8bß
\82¢
\83\82\81[
\83h
\82ªclosest
\82É
\91ã
\93ü
\82³
\82ê
\82é.
\r
858 mode
\82Ìformat
\82Ærefresh_rate
\82ª0
\82Ì
\8fê
\8d\87,
\8f\89\8aú
\92l
\82Ì
\83f
\83X
\83N
\83g
\83b
\83v
\82Ì
\83\82\81[
\83h
\82Æ
\82È
\82é.
\r
859 \83\82\81[
\83h
\82Í,
\83T
\83C
\83Y
\82ð
\8dÅ
\97D
\90æ
\82Å
\8c\9f\8dõ
\82µ,
\83s
\83N
\83Z
\83\8b\8c`
\8e®(
\90F)
\82Í
\8e\9f\82Ì
\97D
\90æ
\93x
\82Æ
\82È
\82é.
\r
860 \82»
\82µ
\82Ä
\8dÅ
\8cã
\82É
\8dX
\90V
\8eü
\8aú
\82ð
\83`
\83F
\83b
\83N
\82·
\82é.
\r
861 \97\98\97p
\89Â
\94\
\82È
\83\82\81[
\83h
\82ª
\97v
\8b\81\82É
\91Î
\82µ
\82Ä
\8f¬
\82³
\82·
\82¬
\82é
\8fê
\8d\87, NULL
\82ð
\96ß
\82·.
\r
862 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
863 <a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a><br>
\r
864 <a href="#SDL_GetNumDisplayModes">SDL_GetNumDisplayModes</a><br>
\r
865 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
866 <a href="https://wiki.libsdl.org/SDL_GetClosestDisplayMode">SDL_GetClosestDisplayMode - SDL Wiki</a>
\r
869 <h2><a name="SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode</a></h2>
\r
870 \8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Ì
\8fî
\95ñ
\82ð
\93¾
\82é
\r
872 <code>int SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode* mode)</code>
\r
873 <h3>
\88ø
\90\94</h3>
\r
874 <table border="1" summary="SDL_GetCurrentDisplayMode">
\r
875 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
876 <tr><td>mode</td><td>
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82·
\82é<a href="#SDL_DisplayMode">SDL_DisplayMode</a>
\8d\
\91¢
\91Ì</td></tr>
\r
878 <h3>
\96ß
\82è
\92l</h3>
\r
879 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
880 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
882 \82±
\82Ì
\8aÖ
\90\94\82Æ<a href="#SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode()</a>
\82Í, SDL
\82ª
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93\82Å,
\82©
\82Â
\89ð
\91\9c\93x
\82ð
\95Ï
\82¦
\82½
\82Æ
\82«
\88Ù
\82È
\82é.
\r
883 \82»
\82Ì
\8fê
\8d\87,
\82±
\82Ì
\8aÖ
\90\94\82Í
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\96ß
\82·
\82ª, <a href="#SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode()</a>
\82Í
\82»
\82Ì
\82Ü
\82Ü
\82Ì
\92l
\82ð
\96ß
\82·.
\r
884 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
885 <a href="#SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode</a><br>
\r
886 <a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a><br>
\r
887 <a href="#SDL_SetWindowDisplayMode">SDL_SetWindowDisplayMode</a><br>
\r
888 <a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a><br>
\r
889 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
890 <a href="https://wiki.libsdl.org/SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode - SDL Wiki</a>
\r
893 <h2><a name="SDL_GetCurrentVideoDriver">SDL_GetCurrentVideoDriver</a></h2>
\r
894 \8f\89\8aú
\89»
\82³
\82ê
\82½
\8c»
\8dÝ
\82Ì
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\96¼
\91O
\82ð
\93¾
\82é
\r
896 <code>const char* SDL_GetCurrentVideoDriver(void)</code>
\r
897 <h3>
\96ß
\82è
\92l</h3>
\r
898 \8c»
\8dÝ
\82Ì
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\96¼
\91O
\82ð,
\8f\89\8aú
\89»
\82³
\82ê
\82Ä
\82¢
\82È
\82¢
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
900 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
901 <a href="#SDL_GetNumVideoDrivers">SDL_GetNumVideoDrivers</a><br>
\r
902 <a href="#SDL_GetVideoDriver">SDL_GetVideoDriver</a><br>
\r
903 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
904 <a href="https://wiki.libsdl.org/SDL_GetCurrentVideoDriver">SDL_GetCurrentVideoDriver - SDL Wiki</a>
\r
907 <h2><a name="SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode</a></h2>
\r
908 \83f
\83X
\83N
\83g
\83b
\83v
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Ì
\8fî
\95ñ
\82ð
\93¾
\82é
\r
910 <code>int SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode* mode)
\r
912 <h3>
\88ø
\90\94</h3>
\r
913 <table border="1" summary="SDL_GetDesktopDisplayMode">
\r
914 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
915 <tr><td>mode</td><td>
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82·
\82é<a href="#SDL_DisplayMode">SDL_DisplayMode</a>
\8d\
\91¢
\91Ì</td></tr>
\r
917 <h3>
\96ß
\82è
\92l</h3>
\r
918 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
919 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
921 \82±
\82Ì
\8aÖ
\90\94\82Æ<a href="#SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode()</a>
\82Í, SDL
\82ª
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93\82Å,
\82©
\82Â
\89ð
\91\9c\93x
\82ð
\95Ï
\82¦
\82½
\82Æ
\82«
\88Ù
\82È
\82é.
\r
922 \82»
\82Ì
\8fê
\8d\87,
\82±
\82Ì
\8aÖ
\90\94\82Í
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Å
\82Í
\82È
\82
\95Ï
\82¦
\82é
\91O
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\96ß
\82·.
\r
923 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
924 <a href="#SDL_GetCurrentDisplayMode">SDL_GetCurrentDisplayMode</a><br>
\r
925 <a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a><br>
\r
926 <a href="#SDL_SetWindowDisplayMode">SDL_SetWindowDisplayMode</a><br>
\r
927 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
928 <a href="https://wiki.libsdl.org/SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode - SDL Wiki</a>
\r
931 <h2><a name="SDL_GetDisplayBounds">SDL_GetDisplayBounds</a></h2>
\r
932 \83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\95\
\8e¦
\97Ì
\88æ
\82ð
\88Ê
\92u
\82ª0,0
\82Ì
\8eå
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\82µ
\82½
\82Æ
\82«
\82Ì
\95\
\8e¦
\97Ì
\88æ
\82ð
\93¾
\82é
\r
934 <code>int SDL_GetDisplayBounds(int displayIndex, SDL_Rect* rect)
\r
936 <h3>
\88ø
\90\94</h3>
\r
937 <table border="1" summary="SDL_GetDisplayBounds">
\r
938 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
939 <tr><td>rect</td><td>
\83f
\83B
\83X
\83v
\83\8c\83C
\97Ì
\88æ
\82ð
\91ã
\93ü
\82·
\82é<a href="sdl2-rect.html#SDL_Rect">SDL_Rect</a>
\8d\
\91¢
\91Ì</td></tr>
\r
941 <h3>
\96ß
\82è
\92l</h3>
\r
942 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
943 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
944 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
945 <a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a><br>
\r
946 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
947 <a href="https://wiki.libsdl.org/SDL_GetDisplayBounds">SDL_GetDisplayBounds - SDL Wiki</a>
\r
950 <h2><a name="SDL_GetDisplayMode">SDL_GetDisplayMode</a></h2>
\r
951 \8ew
\92è
\82µ
\82½
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Ì
\8fî
\95ñ
\82ð
\93¾
\82é
\r
953 <code>int SDL_GetDisplayMode(int displayIndex, int modeIndex, SDL_DisplayMode* mode)
\r
955 <h3>
\88ø
\90\94</h3>
\r
956 <table border="1" summary="SDL_GetDisplayMode">
\r
957 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
958 <tr><td>modeIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Ì
\94Ô
\8d\86</td></tr>
\r
959 <tr><td>mode</td><td>modeIndex
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82·
\82é<a href="#SDL_DisplayMode">SDL_DisplayMode</a>
\8d\
\91¢
\91Ì</td></tr>
\r
961 <h3>
\96ß
\82è
\92l</h3>
\r
962 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
963 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
965 \83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Í
\8e\9f\82Ì
\8f\87\88Ê
\82Å
\95À
\82ñ
\82Å
\82¢
\82é
\r
967 <li>
\90F
\90\94 \91½
\82¢
\81¨
\8f
\82È
\82¢
\r
968 <li>
\95\9d \91å
\82«
\82¢
\81¨
\8f¬
\82³
\82¢
\r
969 <li>
\8d\82\82³
\91å
\82«
\82¢
\81¨
\8f¬
\82³
\82¢
\r
970 <li>
\8dX
\90V
\83\8c\81[
\83g
\8d\82\82¢
\81¨
\92á
\82¢
\r
972 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
973 <a href="#SDL_GetNumDisplayModes">SDL_GetNumDisplayModes</a><br>
\r
974 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
975 <a href="https://wiki.libsdl.org/SDL_GetDisplayMode">SDL_GetDisplayMode - SDL Wiki</a>
\r
978 <h2><a name="SDL_GetDisplayName">SDL_GetDisplayName</a></h2>
\r
979 \83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\96¼
\91O
\82ðUTF-8
\83R
\81[
\83h
\82Å
\93¾
\82é
\r
981 <code>const char* SDL_GetDisplayName(int displayIndex)</code>
\r
982 <h3>
\88ø
\90\94</h3>
\r
983 <table border="1" summary="SDL_GetDisplayName">
\r
984 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
986 <h3>
\96ß
\82è
\92l</h3>
\r
987 \83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\96¼
\91O
\82ð,
\95s
\90³
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\94Ô
\8d\86\82Ü
\82½
\82Í
\8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
\r
988 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
989 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
990 <a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a><br>
\r
991 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
992 <a href="https://wiki.libsdl.org/SDL_GetDisplayName">SDL_GetDisplayName - SDL Wiki</a>
\r
995 <h2><a name="SDL_GetNumDisplayModes">SDL_GetNumDisplayModes</a></h2>
\r
996 \97\98\97p
\89Â
\94\
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Ì
\90\94\82ð
\93¾
\82é
\r
998 <code>int SDL_GetNumDisplayModes(int displayIndex)</code>
\r
999 <h3>
\88ø
\90\94</h3>
\r
1000 <table border="1" summary="SDL_GetNumDisplayModes">
\r
1001 <tr><td>displayIndex</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
1003 <h3>
\96ß
\82è
\92l</h3>
\r
1004 \90¬
\8c÷
\82Ì
\82Æ
\82«1
\88È
\8fã
\82Ì
\90\94\82ð,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
1005 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
1007 displayIndex
\82Í0
\82©
\82ç<a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays()</a>-1
\82Ì
\94Í
\88Í
\82Å
\82 \82é
\95K
\97v
\82ª
\82 \82é.
\r
1008 \82±
\82Ì
\8aÖ
\90\94\82Å
\83}
\83\8b\83`
\83f
\83B
\83X
\83v
\83\8c\83C
\82É
\91Î
\89\9e\82Å
\82«
\82é.
\r
1009 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
1010 <a href="#SDL_GetDisplayMode">SDL_GetDisplayMode</a><br>
\r
1011 <a href="#SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a><br>
\r
1012 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
1013 <a href="https://wiki.libsdl.org/SDL_GetNumDisplayModes">SDL_GetNumDisplayModes - SDL Wiki</a>
\r
1016 <h2><a name="SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays</a></h2>
\r
1017 \97\98\97p
\89Â
\94\
\82È
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\90\94\82ð
\93¾
\82é
\r
1019 <code>int SDL_GetNumVideoDisplays(void)</code>
\r
1020 <h3>
\96ß
\82è
\92l</h3>
\r
1021 \90¬
\8c÷
\82Ì
\82Æ
\82«1
\88È
\8fã
\82Ì
\90\94\82ð,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
1022 \82»
\82Ì
\82Æ
\82«<a href="sdl2-error.html#SDL_GetError">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
1023 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
1024 <a href="#SDL_GetDisplayBounds">SDL_GetDisplayBounds</a><br>
\r
1025 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
1026 <a href="https://wiki.libsdl.org/SDL_GetNumVideoDisplays">SDL_GetNumVideoDisplays - SDL Wiki</a>
\r
1029 <h2><a name="SDL_GetNumVideoDrivers">SDL_GetNumVideoDrivers</a></h2>
\r
1030 SDL
\82Å
\97\98\97p
\89Â
\94\
\82È
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\90\94\82ð
\93¾
\82é
\r
1032 <code>int SDL_GetNumVideoDrivers(void)</code>
\r
1033 <h3>
\88ø
\90\94</h3>
\r
1034 <h3>
\96ß
\82è
\92l</h3>
\r
1035 \90¬
\8c÷
\82Ì
\82Æ
\82«1
\88È
\8fã
\82Ì
\90\94\82ð,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
1036 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
1037 <a href="#SDL_GetVideoDriver">SDL_GetVideoDriver</a><br>
\r
1038 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
1039 <a href="https://wiki.libsdl.org/SDL_GetNumVideoDrivers">SDL_GetNumVideoDrivers - SDL Wiki</a>
\r
1042 <h2><a name="SDL_GetVideoDriver">SDL_GetVideoDriver</a></h2>
\r
1043 \91g
\82Ý
\8d\9e\82Ü
\82ê
\82½
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\96¼
\91O
\82ð
\93¾
\82é
\r
1045 <code>const char* SDL_GetVideoDriver(int index)</code>
\r
1046 <h3>
\88ø
\90\94</h3>
\r
1047 <table border="1" summary="SDL_GetVideoDriver">
\r
1048 <tr><td>index</td><td>
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\94Ô
\8d\86</td></tr>
\r
1050 <h3>
\96ß
\82è
\92l</h3>
\r
1051 \97^
\82¦
\82ç
\82ê
\82½
\94Ô
\8d\86\82Ì
\83r
\83f
\83I
\83h
\83\89\83C
\83o
\82Ì
\96¼
\91O
\82ð
\96ß
\82·
\r
1053 The video drivers are presented in the order in which they are normally checked during initialization.
\r
1054 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
1055 <a href="#SDL_GetNumVideoDrivers">SDL_GetNumVideoDrivers</a><br>
\r
1056 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
1057 <a href="https://wiki.libsdl.org/SDL_GetVideoDriver">SDL_GetVideoDriver - SDL Wiki</a>
\r
1060 <h2><a name="SDL_GetWindowBrightness">SDL_GetWindowBrightness</a></h2>
\r
1061 \83E
\83B
\83\93\83h
\83E
\82Ì
\8bP
\93x(
\83K
\83\93\83}
\95â
\90³)
\82ð
\93¾
\82é
\r
1063 <code>float SDL_GetWindowBrightness(SDL_Window* window)</code>
\r
1064 <h3>
\88ø
\90\94</h3>
\r
1065 <table border="1" summary="SDL_GetWindowBrightness">
\r
1066 <tr><td>window</td><td>
\96â
\82¢
\8d\87\82í
\82¹
\82é
\83E
\83B
\83\93\83h
\83E</td></tr>
\r
1068 <h3>
\96ß
\82è
\92l</h3>
\r
1069 \83E
\83B
\83\93\83h
\83E
\82Ì
\8bP
\93x
\82ð
\96ß
\82·. 0.0
\82ª
\8a®
\91S
\82È
\8d\95\82Å, 1.0
\82ª
\92Ê
\8fí
\82Ì
\8bP
\93x
\82Å
\82 \82é.
\r
1070 <h3>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h3>
\r
1071 <a href="#SDL_SetWindowBrightness">SDL_SetWindowBrightness</a><br>
\r
1072 <h3>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h3>
\r
1073 <a href="https://wiki.libsdl.org/SDL_GetWindowBrightness">SDL_GetWindowBrightness - SDL Wiki</a>
\r