A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixel
pixel format.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Metal
Declaration
MTLPixelFormatX32_Stencil8 = 261
A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixel
pixel format.
SDKs
Framework
MTLPixelFormatX32_Stencil8 = 261
MTLPixel Format Depth16Unorm
A 16-bit depth pixel format with one normalized unsigned integer component, typically used for a depth render target.
MTLPixel Format Depth32Float
A 32-bit depth pixel format with one 32-bit floating-point component, typically used for a depth render target.
MTLPixel Format Stencil8
An 8-bit stencil pixel format with one 8-bit floating-point component, typically used for a stencil render target.
MTLPixel Format Depth24Unorm _Stencil8
A packed 32-bit combined depth and stencil pixel format with two normalized unsigned integer components: 24 bits, typically used for a depth render target, and 8 bits, typically used for a stencil render target.
MTLPixel Format Depth32Float _Stencil8
A 64-bit combined depth and stencil pixel format with two floating-point components: 32 bits, typically used for a depth render target, and 8 bits, typically used for a stencil render target.
MTLPixel Format X24 _Stencil8
A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixel
pixel format.