maxTessellationFactor
The maximum tessellation factor that the tessellator uses when tessellating patches.
Declaration
var maxTessellationFactor: Int { get set }Discussion
The default value is 16 and the maximum value is 64. Any value in between needs to be set according to the partitioning mode specified by the tessellationPartitionMode property:
For the MTLTessellationPartitionMode.pow2 partitioning mode, the value needs to be a power of two.
For the MTLTessellationPartitionMode.integer partitioning mode, the value can be an even or odd number.
For the MTLTessellationPartitionMode.fractionalOdd or MTLTessellationPartitionMode.fractionalEven partitioning mode, the value needs to be an even number.