Contents

setTessellationFactorScale(_:)

Configures the scale factor for per-patch tessellation factors.

Declaration

func setTessellationFactorScale(_ scale: Float)

Parameters

  • scale:

    A positive, normal floating-point scale factor the render pass applies to the per-patch tessellation factors.

    The value of scale can’t be negative, infinite, equal to NaN (not a number), or a denormalized number.

Discussion

The command converts scale to a half-precision floating-point value before it applies it to the per-patch tessellation factors (see setTessellationFactorBuffer(_:offset:instanceStride:)).

See Also

Configuring tessellation factors