Instance Method

setTessellationFactorScale(_:)

Sets the scale factor applied to the per-patch tessellation factors.

Required.

Declaration

func setTessellationFactorScale(_ scale: Float)

Parameters

scale

The scale factor applied to the per-patch tessellation factors. This value must be a positive normal floating-point value; it cannot be less than zero, denormal, infinite, or not a number.

Discussion

The value of scale is converted to a half-precision floating-point value before it is applied to the per-patch tessellation factors.

See Also

Specifying Tessellation Factors

func setTessellationFactorBuffer(MTLBuffer?, offset: Int, instanceStride: Int)

Sets the per-patch tessellation factors buffer for the tessellator.

Required.