Missing currentAllocatedSize and other memory usages queries

In the WWDC2017 "Introducing Metal 2"-talk under "Everything else", the following memory usage queries are introduced:

  • MTLResource.allocatedSize
  • MTLHeap.currentAllocatedSize
  • MTLDevice.currentAllocatedSize

I would love to use these, but I can't seem to find them anywhere among the new Metal 2 beta APIs or in the documentation. At this moment, googling the primitives also only yield references to the "Introducing Metal 2" talk....

I'm developing for iOS11 using XCode Version 9.0 beta (9M136h).

I would be very grateful if somebody could verify that these primitives are indeed missing, or help solve the mystery in some other way...

Accepted Reply

Just for the record, after upgrading to iOS 11 beta 2 and XCode 9 Beta 2, the above primitives are now usable!

Replies

Just for the record, after upgrading to iOS 11 beta 2 and XCode 9 Beta 2, the above primitives are now usable!