示例#1
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
示例#2
0
 public CommandPoolCreateInfo()
 {
     NativePointer        = (Unmanaged.CommandPoolCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.CommandPoolCreateInfo));
     NativePointer->SType = StructureType.CommandPoolCreateInfo;
 }