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