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...