A 32-bit depth pixel format with one 32-bit floating-point component, typically used for a depth render target.
SDKs
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal
Declaration
case depth32Float = 252
A 32-bit depth pixel format with one 32-bit floating-point component, typically used for a depth render target.
SDKs
Framework
case depth32Float = 252
case depth16Unorm
A 16-bit depth pixel format with one normalized unsigned integer component, typically used for a depth render target.
case stencil8
An 8-bit stencil pixel format with one 8-bit floating-point component, typically used for a stencil render target.
case 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.
case 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.
case x32 _stencil8
A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixel
pixel format.
case x24 _stencil8
A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixel
pixel format.