Contents

stepRate

The number of instances that share the same per-instance vertex data.

Declaration

var stepRate: Int

Discussion

Used together with stepFunction. When stepFunction is .perInstance, the vertex shader advances to the next entry in this layout once per stepRate instances. Defaults to 1.

See Also

Configuring vertex stepping