Enumeration Case

MTLPixelFormat.depth32Float

A 32-bit depth pixel format with one 32-bit floating-point component, typically used for a depth render target.

Declaration

case depth32Float = 252

See Also

Depth and Stencil Pixel Formats

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 MTLPixelFormat.depth32Float_stencil8 pixel format.

case x24_stencil8

A stencil pixel format used for a stencil texture view, typically created from a parent texture with the MTLPixelFormat.depth24Unorm_stencil8 pixel format.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software