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