A stencil pixel format used to read the stencil value from a texture with a combined 24-bit depth and 8-bit stencil value.
- macOS 10.12+
- Mac Catalyst 13.0+
You can't directly read the stencil value of a texture with the
MTLPixel format. To read stencil values from a texture with the
MTLPixel format, create a texture view of that texture using the
MTLPixel format, and sample the texture view instead.