Structure

MTLVertexAmplificationViewMapping

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

Declaration

struct MTLVertexAmplificationViewMapping

Topics

Creating a View Mapping

init()

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.

Required.

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