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