---
title: isDepth24Stencil8PixelFormatSupported
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/isdepth24stencil8pixelformatsupported
---

# isDepth24Stencil8PixelFormatSupported

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

## Declaration

```swift
var isDepth24Stencil8PixelFormatSupported: Bool { get }
```

## Discussion

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

## See Also

### Related Documentation

- [Metal Shading Language Guide](apple-archive/documentation/Metal/Reference/MetalShadingLanguageGuide/Introduction.md)
- [Metal Programming Guide](apple-archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Introduction.md)

### Checking texture and sampler support

- [supports32BitFloatFiltering](metal/mtldevice/supports32bitfloatfiltering.md)
- [supportsBCTextureCompression](metal/mtldevice/supportsbctexturecompression.md)
- [supportsQueryTextureLOD](metal/mtldevice/supportsquerytexturelod.md)
- [readWriteTextureSupport](metal/mtldevice/readwritetexturesupport.md)
