Contents

replaceInfluenceJointIndices(_:)

Fills the influence joint index buffer using the given closure. /// After the closure returns, the framework validates every index. An out-of-range index causes a throw.

Declaration

func replaceInfluenceJointIndices<R>(_ body: @_lifetime(0: copy 0) (inout MutableRawSpan) -> R) throws -> R where R : ~Copyable

Parameters

  • body:

    A closure that receives a mutable span over the buffer.

Return Value

The value returned by body.

Discussion

See Also

Configuring skinning data