using System; using System.Runtime.InteropServices; namespace Urho { public partial class Graphics { [DllImport(Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr Graphics_GetSdlWindow(IntPtr graphics); /// /// Pointer to SDL window /// public IntPtr SdlWindow => Graphics_GetSdlWindow(Handle); } }