SDL_Render rendertarget funcs

This commit is contained in:
Ethan Lee 2014-12-04 20:01:57 -05:00
parent 9c475e36fa
commit 784cda961f

View file

@ -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