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