newBuffer

fun MTLDeviceProtocol.newBuffer(size: ULong): MTLBuffer

TODO: may not working on ios "In iOS and tvOS, the managed storage mode is not available." https://developer.apple.com/documentation/metal/mtlstoragemode/managed