Contents

renderTargetArrayLength

The number of active array slices in the render target textures.

Declaration

var renderTargetArrayLength: Int { get set }

Discussion

Corresponds to MTLRenderPassDescriptor.renderTargetArrayLength. Set this to the size of the texture array when using multi-viewport rendering into texture slices.

See Also

Configuring render targets