size
The total amount of memory, in bytes, for the heaps you create with this descriptor.
Declaration
var size: Int { get set }Discussion
You can use various MTLDevice methods to help you estimate an appropriate heap size, including the following:
This property’s default value is 0.