public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
 public DisplayPlanePropertiesKHR()
 {
     NativePointer = (Unmanaged.DisplayPlanePropertiesKHR *)MemUtil.Alloc(typeof(Unmanaged.DisplayPlanePropertiesKHR));
 }