Contents

maxVertexBufferBindCount

The maximum number of buffers that you can set per command for the vertex stage.

Declaration

var maxVertexBufferBindCount: Int { get set }

Discussion

Metal ignores this property if inheritBuffers is true or if you configured commandTypes for compute commands. Metal needs to reserve enough memory in each command to store this many arguments. Use the smallest value that works for all commands you plan to encode into the indirect command buffer.

See Also

Declaring the maximum number of argument buffers per command