---
title: drawableRenderContextSupportedStencilFormats
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/capabilities/drawablerendercontextsupportedstencilformats
---

# drawableRenderContextSupportedStencilFormats

An array of metal pixel formats the layer renderer drawable supports with its render context.

## Declaration

```swift
var drawableRenderContextSupportedStencilFormats: [MTLPixelFormat] { get }
```

## Discussion

Discussion The pixel formats in this property tell you which MTLPixelFormat pixel arrangements and characteristics the layer supports for its stencil textures with the RenderContext. note: Pixel formats are further detailed in Metal Feature Set Tables.
