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
scalecan’t be negative, infinite, equal toNaN(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:)).