public void Dispose() { MemUtil.Free((IntPtr)NativePointer); NativePointer = null; GC.SuppressFinalize(this); }
public DisplayPresentInfoKHR() { NativePointer = (Unmanaged.DisplayPresentInfoKHR *)MemUtil.Alloc(typeof(Unmanaged.DisplayPresentInfoKHR)); NativePointer->SType = StructureType.DisplayPresentInfoKHR; }