setMeshInstances(_:at:)
Assigns a mesh instance array to the given slot index.
Declaration
final func setMeshInstances(_ meshInstances: LowLevelMeshInstanceArray?, at index: Int) throws(LowLevelRendererError)Parameters
- meshInstances:
The mesh instance array to assign, or
nilto clear the slot. - index:
The zero-based slot index to assign to. Must be within
0..<meshInstancesArrayCount.