Beispiel #1
0
 public void Dispose()
 {
     Marshal.FreeHGlobal(NativePointer->QueueFamilyIndices);
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Beispiel #2
0
 public SwapchainCreateInfoKHR()
 {
     NativePointer        = (Unmanaged.SwapchainCreateInfoKHR *)MemUtil.Alloc(typeof(Unmanaged.SwapchainCreateInfoKHR));
     NativePointer->SType = StructureType.SwapchainCreateInfoKHR;
 }