Пример #1
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Пример #2
0
 internal PhysicalDeviceProperties()
 {
     NativePointer = (Unmanaged.PhysicalDeviceProperties *)MemUtil.Alloc(typeof(Unmanaged.PhysicalDeviceProperties));
 }