Exemplo n.º 1
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Exemplo n.º 2
0
 public Win32SurfaceCreateInfoKHR()
 {
     NativePointer        = (Unmanaged.Win32SurfaceCreateInfoKHR *)MemUtil.Alloc(typeof(Unmanaged.Win32SurfaceCreateInfoKHR));
     NativePointer->SType = StructureType.Win32SurfaceCreateInfoKHR;
 }