Enumeration Case

MTLPixelFormat.stencil8

An 8-bit stencil pixel format with one 8-bit floating-point component, typically used for a stencil render target.

Declaration

case stencil8 = 253

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 depth32Float

A 32-bit depth pixel format with one 32-bit floating-point component, typically used for a depth 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.