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