Metal 系列二:GPU Devices--缓冲区Creating Buffers
Fill buffers with arbitrary data structures that you design and send as arguments to your shader functions on the GPU.
使用您设计的任意数据结构填充缓冲区,并将其作为参数发送到GPU上的着色器函数。
分配给定长度的新零填充缓冲区。
func makeBuffer(length: Int, options: MTLResourceOptions = []) -> MTLBuffer?
Allocates a