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="CategorySurface.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_LockSurface</title>
\r
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_LockSurface
\r
14 <h1>SDL_LockSurface</h1>
\r
15 \83s
\83N
\83Z
\83\8b\97Ì
\88æ
\82É
\92¼
\90Ú
\83A
\83N
\83Z
\83X
\82Å
\82«
\82é
\82æ
\82¤
\82É
\90Ý
\92è
\82·
\82é
\r
17 <code>int SDL_LockSurface(SDL_Surface* surface)</code>
\r
19 <table border="1" summary="SDL_LockSurface">
\r
20 <tr><td>surface</td><td>
\83\8d\83b
\83N
\82·
\82é<a href="SDL_Surface.html">SDL_Surface</a></td></tr>
\r
22 <h2>
\96ß
\82è
\92l</h2>
\r
23 \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
24 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
27 <a href="SDL_LockSurface.html">SDL_LockSurface()</a>
\82Æ<a href="SDL_UnlockSurface.html">SDL_UnlockSurface()</a>
\82Ì
\8aÔ
\82Å, surface->format
\82É
\8ai
\94[
\82³
\82ê
\82½
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82Åsurface->pixel
\82Ì
\93Ç
\82Ý
\8d\9e\82Ý
\82Æ
\8f\91\82«
\8d\9e\82Ý
\82ª
\82Å
\82«
\82é.
\r
28 \83T
\81[
\83t
\83F
\83C
\83X
\82Ö
\82Ì
\83A
\83N
\83Z
\83X
\82ð
\8fI
\82¦
\82½
\82È
\82ç, <a href="SDL_UnlockSurface.html">SDL_UnlockSurface()</a>
\82ð
\8cÄ
\82ñ
\82Å
\83\8d\83b
\83N
\82ð
\89ð
\95ú
\82·
\82é
\95K
\97v
\82ª
\82 \82é.
\r
31 \91S
\82Ä
\82Ì
\83T
\81[
\83t
\83F
\83C
\83X
\82ª
\83\8d\83b
\83N
\82ð
\95K
\97v
\82Æ
\82µ
\82Ä
\82¢
\82é
\82Æ
\82Í
\8cÀ
\82ç
\82È
\82¢
\r
32 <a href="SDL_MUSTLOCK.html">SDL_MUSTLOCK(surface)</a>
\82ª0
\82È
\82ç
\82Î,
\82¢
\82Â
\82Å
\82à
\83T
\81[
\83t
\83F
\83C
\83X
\82É
\93Ç
\82Ý
\8f\91\82«
\89Â
\94\
\82Å,
\83T
\81[
\83t
\83F
\83C
\83X
\82Ì
\83s
\83N
\83Z
\83\8b\8c`
\8e®
\82Í
\95Ï
\89»
\82µ
\82È
\82¢.
\r
34 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
35 <a href="SDL_MUSTLOCK.html">SDL_MUSTLOCK</a><br>
\r
36 <a href="SDL_UnlockSurface.html">SDL_UnlockSurface</a><br>
\r
37 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
38 <a href="https://wiki.libsdl.org/SDL_LockSurface">SDL_LockSurface - SDL Wiki</a>
\r