Allocates a new buffer of a given length and initializes its contents by copying existing data into it.
- iOS 8.0+
- macOS 10.11+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
The memory address from which to copy the initial data.
The size of the new buffer, in bytes. This is also the number of bytes that are copied from the
Specifies the behavior of the new buffer.
MTLBuffer object that contains the data copied from the
The storage allocation of the new
MTLBuffer object is not the same as the storage allocation of the