The number of samples in each fragment.
- iOS 11.0+
The default value is
1. This value is used only if the pipeline render targets support multisampling. If the render targets don't support multisampling, then this value must be
MTLRender object is created, the
sample value of all the render target textures must match this
sample value. Furthermore, the texture type of all render target textures must be
Support for different sample count values varies by device. Call the
supports method to determine whether your desired sample count value is supported.