1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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="CategorySurface.html" title="1
\82Â
\8fã">
9 <title>SDL_CreateRGBSurfaceWithFormatFrom</title>
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategorySurface.html">
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\90¶
\90¬
\82Æ
\92P
\8f\83\82È
\95`
\89æ</a> - SDL_CreateRGBSurfaceWithFormatFrom
14 <h1>SDL_CreateRGBSurfaceWithFormatFrom</h1>
15 \8aù
\91¶
\82Ì
\83s
\83N
\83Z
\83\8b\83f
\81[
\83^
\82©
\82ç
\90V
\82µ
\82¢RGB
\83T
\81[
\83t
\83F
\83C
\83X
\82ð
\90¶
\90¬
\82·
\82é
17 <code>SDL_Surface* SDL_CreateRGBSurfaceWithFormatFrom(void* pixels, int width, int height, int depth, int pitch, Uint32 format)</code>
19 <table border="1" summary="SDL_CreateRGBSurfaceWithFormatFrom">
20 <tr><td>pixels</td><td>
\8aù
\91¶
\82Ì
\83s
\83N
\83Z
\83\8b\83f
\81[
\83^
\82Ö
\82Ì
\83|
\83C
\83\93\83^</td></tr>
21 <tr><td>width</td><td>
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\95\9d</td></tr>
22 <tr><td>height</td><td>
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\8d\82\82³</td></tr>
23 <tr><td>depth</td><td>
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\83r
\83b
\83g
\90[
\93x</td></tr>
24 <tr><td>pitch</td><td>pixels
\82Ì
\90\85\95½
\95û
\8cü
\82Ì
\83o
\83C
\83g
\90\94</td></tr>
25 <tr><td>format</td><td>
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\83t
\83H
\81[
\83}
\83b
\83g</td></tr>
28 \90¬
\8c÷
\82Ì
\82Æ
\82«
\90¶
\90¬
\82³
\82ê
\82½<a href="SDL_Surface.html">SDL_Surface</a>,
\8e¸
\94s
\82Ì
\82Æ
\82«NULL
\82ð
\96ß
\82·.
29 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
32 \83\81\83\82\83\8a\82ð
\8am
\95Û
\82Å
\82«
\82È
\82©
\82Á
\82½
\82Æ
\82«
\82ÍNULL
\82ð
\96ß
\82·.
34 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
36 \82±
\82Ì
\8aÖ
\90\94\82ÍSDL 2.0.5
\88È
\8d~
\82Å
\8eg
\82¦
\82é.
38 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
39 <a href="SDL_CreateRGBSurfaceWithFormat.html">SDL_CreateRGBSurfaceWithFormat</a><br>
40 <a href="SDL_FreeSurface.html">SDL_FreeSurface</a><br>
41 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
42 <a href="https://wiki.libsdl.org/SDL_CreateRGBSurfaceWithFormatFrom">SDL_CreateRGBSurfaceWithFormatFrom - SDL Wiki</a>