Contents

Adjusting the level of detail using Metal mesh shaders

Choose and render meshes with several levels of detail using object and mesh shaders.

Overview

Configure the sample code project

To run this sample, you need Xcode 14 or later, and a physical device that supports MTLGPUFamily.mac2 or MTLGPUFamily.apple7, such as:

  • A Mac running macOS 13 or later

  • An iOS device with an A15 chip or later running iOS 16 or later

This sample can only run on a physical device because it uses mesh shader features, which Simulator doesn’t support.

See Also

Render workflows