mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-09 00:15:36 +00:00
SDL_Render rendertarget funcs
This commit is contained in:
parent
9c475e36fa
commit
784cda961f
10
src/SDL2.cs
10
src/SDL2.cs
|
@ -2133,6 +2133,16 @@ namespace SDL2
|
|||
int pitch
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern SDL_bool SDL_RenderTargetSupported(
|
||||
IntPtr renderer
|
||||
);
|
||||
|
||||
/* IntPtr refers to an SDL_Texture*, renderer to an SDL_Renderer* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern IntPtr SDL_GetRenderTarget(IntPtr renderer);
|
||||
|
||||
#endregion
|
||||
|
||||
#region SDL_pixels.h
|
||||
|
|
Loading…
Reference in a new issue