mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-03-04 19:09:50 +00:00
Doc cleanup. Because I am a lunatic.
This commit is contained in:
parent
eaf552bad0
commit
9b86627382
27
src/SDL2.cs
27
src/SDL2.cs
|
@ -1247,10 +1247,11 @@ namespace SDL2
|
||||||
ref SDL_Rect dstrect
|
ref SDL_Rect dstrect
|
||||||
);
|
);
|
||||||
|
|
||||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||||
/* internally, this function contains logic to use default values when source
|
* Internally, this function contains logic to use default values when
|
||||||
and destination rectangles are passed as NULL */
|
* source and destination rectangles are passed as NULL.
|
||||||
/* this overload allows for IntPtr.Zero (null) to be passed for source rectangle */
|
* This overload allows for IntPtr.Zero (null) to be passed for srcrect.
|
||||||
|
*/
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_RenderCopy(
|
public static extern int SDL_RenderCopy(
|
||||||
IntPtr renderer,
|
IntPtr renderer,
|
||||||
|
@ -1259,10 +1260,11 @@ namespace SDL2
|
||||||
ref SDL_Rect dstrect
|
ref SDL_Rect dstrect
|
||||||
);
|
);
|
||||||
|
|
||||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||||
/* internally, this function contains logic to use default values when source
|
* Internally, this function contains logic to use default values when
|
||||||
and destination rectangles are passed as NULL */
|
* source and destination rectangles are passed as NULL.
|
||||||
/* this overload allows for IntPtr.Zero (null) to be passed for destination rectangle */
|
* This overload allows for IntPtr.Zero (null) to be passed for dstrect.
|
||||||
|
*/
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_RenderCopy(
|
public static extern int SDL_RenderCopy(
|
||||||
IntPtr renderer,
|
IntPtr renderer,
|
||||||
|
@ -1271,10 +1273,11 @@ namespace SDL2
|
||||||
IntPtr dstrect
|
IntPtr dstrect
|
||||||
);
|
);
|
||||||
|
|
||||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||||
/* internally, this function contains logic to use default values when source
|
* Internally, this function contains logic to use default values when
|
||||||
and destination rectangles are passed as NULL */
|
* source and destination rectangles are passed as NULL.
|
||||||
/* this overload allows for IntPtr.Zero (null) to be passed for both rectangles */
|
* this overload allows for IntPtr.Zero (null) to be passed for both SDL_Rects.
|
||||||
|
*/
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_RenderCopy(
|
public static extern int SDL_RenderCopy(
|
||||||
IntPtr renderer,
|
IntPtr renderer,
|
||||||
|
|
Loading…
Reference in a new issue