The number of active layers that all attachments must have for layered rendering.
- iOS 12.0+
- macOS 10.11+
- Mac Catalyst 13.0+
The default value is
0, indicating layered rendering is not enabled.
The table below gives typical values you might set, depending on the type of texture being used as attachments in the render pass. Your vertex shader must select the render target array index between 0 and