OSDN Git Service

SDL_Vulkan_UnloadLibrary 新規追加 https://wiki.libsdl.org/SDL_Vulkan_UnloadLibrary
[sdl2referencejp/sdl2referencejp.git] / SDL_GetRGB.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\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="CategoryPixels.html" title="1\82Â\8fã">\r
9 <title>SDL_GetRGB</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryPixels.html">\83s\83N\83Z\83\8b\8c`\8e®\82Æ\95Ï\8a·</a> - SDL_GetRGB\r
13 <hr>\r
14 <h1>SDL_GetRGB</h1>\r
15 \8ew\92è\82Ì\83s\83N\83Z\83\8b\82ÌRGB\92l\82ð\93¾\82é\r
16 <h2>\8d\\95¶</h2>\r
17 <code>void SDL_GetRGB(Uint32 pixel, const SDL_PixelFormat* format, Uint8* r, Uint8* g, Uint8* b)</code>\r
18 <h2>\88ø\90\94</h2>\r
19 <table border="1" summary="SDL_GetRGB">\r
20 <tr><td>pixel</td><td>\83s\83N\83Z\83\8b\92l</td></tr>\r
21 <tr><td>format</td><td><a href="SDL_PixelFormat.html">SDL_PixelFormat</a></td></tr>\r
22 <tr><td>r</td><td>\90Ô\90¬\95ª\82Ì\92l\82ð\91ã\93ü\82·\82é\83|\83C\83\93\83^</td></tr>\r
23 <tr><td>g</td><td>\97Î\90¬\95ª\82Ì\92l\82ð\91ã\93ü\82·\82é\83|\83C\83\93\83^</td></tr>\r
24 <tr><td>b</td><td>\90Â\90¬\95ª\82Ì\92l\82ð\91ã\93ü\82·\82é\83|\83C\83\93\83^</td></tr>\r
25 </table>\r
26 <h2>\8fÚ\8d×</h2>\r
27 \90F\90¬\95ª\82Ì\92l\82ª8bit\96¢\96\9e\82Ì\83s\83N\83Z\83\8b\8c`\8e®\82Å\82à0\81`255\82Ì\94Í\88Í\82É\95Ï\8a·\82³\82ê\82é.\r
28 (\97á: 16bit RGB565\8c`\8e®\82Ì\90^\82Á\94\92\82Ì\83s\83N\83Z\83\8b\82Í [0xf8, 0xfc, 0xf8] \82Å\82Í\82È\82­ [0xff, 0xff, 0xff] \82ð\96ß\82·.)\r
29 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r
30 <a href="SDL_GetRGBA.html">SDL_GetRGBA</a><br>\r
31 <a href="SDL_MapRGB.html">SDL_MapRGB</a><br>\r
32 <a href="SDL_MapRGBA.html">SDL_MapRGBA</a><br>\r
33 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>\r
34 <a href="https://wiki.libsdl.org/SDL_GetRGB">SDL_GetRGB - SDL Wiki</a>\r
35 <hr>\r
36 </body>\r
37 </html>\r