Contents

isDepth24Stencil8PixelFormatSupported

A Boolean value that indicates whether a device supports a packed depth-and-stencil pixel format.

Declaration

var isDepth24Stencil8PixelFormatSupported: Bool { get }

Discussion

If the value is true, the device supports the MTLPixelFormat.depth24Unorm_stencil8 pixel format.

See Also

Related Documentation

  • Metal Shading Language Guide
  • Metal Programming Guide

Checking texture and sampler support