Creating Argument Buffers 创建参数缓冲区
为特定的参数数组创建新的参数编码器。
func makeArgumentEncoder(arguments: [MTLArgumentDescriptor]) -> MTLArgumentEncoder?
Creates a new argument encoder for a specific array of arguments.
Required.
确定设备支持的参数缓冲层。
var argumentBuffersSupport: MTLArgumentBuffersTier
Determines the argument buffers tier supported by the device.
Required.
每个应用程序的唯一参数缓冲区采样器的最大数量。
var maxArgumentBufferSamplerCount: Int
The maximum number of unique argument buffer samplers per app.
Required.
Creating Indirect Command Buffers 间接命令缓冲区
创建一个新的间接命令缓冲区。
func makeIndirectCommandBuffer(descriptor