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="CategoryPixels.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_SetPixelFormatPalette</title>
\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_SetPixelFormatPalette
\r
14 <h1>SDL_SetPixelFormatPalette</h1>
\r
15 \83p
\83\8c\83b
\83g
\82Ì
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82ð
\90Ý
\92è
\82·
\82é
\r
17 <code>int SDL_SetPixelFormatPalette(SDL_PixelFormat* format, SDL_Palette* palette)</code>
\r
19 <table border="1" summary="SDL_SetPixelFormatPalette">
\r
20 <tr><td>format</td><td>
\83p
\83\8c\83b
\83g
\82Ì<a href="SDL_PixelFormat.html">SDL_PixelFormat</a></td></tr>
\r
21 <tr><td>palette</td><td>
\90Ý
\92è
\82·
\82é<a href="SDL_Palette.html">SDL_Palette</a></td></tr>
\r
23 <h2>
\96ß
\82è
\92l</h2>
\r
24 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\83G
\83\89\81[
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
25 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
26 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
27 <a href="SDL_AllocPalette.html">SDL_AllocPalette</a><br>
\r
28 <a href="SDL_FreePalette.html">SDL_AllocPalette</a><br>
\r
29 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
30 <a href="https://wiki.libsdl.org/SDL_SetPixelFormatPalette">SDL_SetPixelFormatPalette - SDL Wiki</a>
\r