mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-03-04 16:09:48 +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
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* internally, this function contains logic to use default values when source
|
||||
and destination rectangles are passed as NULL */
|
||||
/* this overload allows for IntPtr.Zero (null) to be passed for source rectangle */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source and destination rectangles are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for srcrect.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopy(
|
||||
IntPtr renderer,
|
||||
|
@ -1259,10 +1260,11 @@ namespace SDL2
|
|||
ref SDL_Rect dstrect
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* internally, this function contains logic to use default values when source
|
||||
and destination rectangles are passed as NULL */
|
||||
/* this overload allows for IntPtr.Zero (null) to be passed for destination rectangle */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source and destination rectangles are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for dstrect.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopy(
|
||||
IntPtr renderer,
|
||||
|
@ -1271,10 +1273,11 @@ namespace SDL2
|
|||
IntPtr dstrect
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* internally, this function contains logic to use default values when source
|
||||
and destination rectangles are passed as NULL */
|
||||
/* this overload allows for IntPtr.Zero (null) to be passed for both rectangles */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source and destination rectangles are passed as NULL.
|
||||
* this overload allows for IntPtr.Zero (null) to be passed for both SDL_Rects.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopy(
|
||||
IntPtr renderer,
|
||||
|
|
Loading…
Reference in a new issue