An offset applied to a render target index and viewport index.


struct MTLVertexAmplificationViewMapping


Creating a View Mapping


Initializes a default view mapping.

Specifying Mapping Offsets

var renderTargetArrayIndexOffset: UInt32

An offset into the list of render targets.

var viewportArrayIndexOffset: UInt32

An offset into the list of viewports.

See Also

Configuring Vertex Amplification

func setVertexAmplificationCount(Int, viewMappings: UnsafePointer<MTLVertexAmplificationViewMapping>?)

Sets the number of output vertices for each input vertex, along with offsets into the layer and viewport lists.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software