Instance Property

tessellationPartitionMode

The partitioning mode used by the tessellator to derive the number and spacing of segments used to subdivide a corresponding edge.

Declaration

var tessellationPartitionMode: MTLTessellationPartitionMode { get set }

Discussion

The default value is MTLTessellationPartitionMode.pow2.

See Also

Specifying Tessellation State

var maxTessellationFactor: Int

Specifies the maximum tessellation factor to be used by the tessellator when tessellating a patch (or patches).

var isTessellationFactorScaleEnabled: Bool

Determines whether the tessellation factor is scaled.

var tessellationFactorFormat: MTLTessellationFactorFormat

The format of the tessellation factors specified in the tessellation factor buffer.

var tessellationControlPointIndexType: MTLTessellationControlPointIndexType

The size of the control point indices in a control point index buffer.

var tessellationFactorStepFunction: MTLTessellationFactorStepFunction

The step function used to determine the tessellation factors for a patch from the tessellation factor buffer.

var tessellationOutputWindingOrder: MTLWinding

The winding order of triangles output by the tessellator.

enum MTLTessellationFactorFormat

The format of the tessellation factors in a tessellation factor buffer.

enum MTLTessellationControlPointIndexType

The size of the control point indices in a control point index buffer.

enum MTLTessellationFactorStepFunction

The step function used to determine the tessellation factors for a patch from the tessellation factor buffer.

enum MTLTessellationPartitionMode

The partitioning mode used by the tessellator to derive the number and spacing of segments used to subdivide a corresponding edge.