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