tessellationControlPointIndexType
The size of the control point indices in a control point index buffer.
Declaration
var tessellationControlPointIndexType: MTLTessellationControlPointIndexType { get set }Discussion
The default value is MTLTessellationControlPointIndexType.none; use this value when drawing patches without a control point index buffer. This value needs to be either MTLTessellationControlPointIndexType.uint16 or MTLTessellationControlPointIndexType.uint32 when drawing patches with indexed control points.
See Also
Related Documentation
drawIndexedPatches(numberOfPatchControlPoints:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:)drawIndexedPatches(numberOfPatchControlPoints:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:indirectBuffer:indirectBufferOffset:)