---
title: depthStencilStorageMode
framework: metalkit
role: symbol
role_heading: Instance Property
path: metalkit/mtkview/depthstencilstoragemode
---

# depthStencilStorageMode

The storage mode that the packed depth and stencil texture use.

## Declaration

```swift
var depthStencilStorageMode: MTLStorageMode { get set }
```

## Discussion

Discussion The default value is MTLStorageMode.private.

## See Also

### Retrieving Render Target Information

- [currentRenderPassDescriptor](metalkit/mtkview/currentrenderpassdescriptor.md)
- [currentDrawable](metalkit/mtkview/currentdrawable.md)
- [depthStencilTexture](metalkit/mtkview/depthstenciltexture.md)
- [multisampleColorTexture](metalkit/mtkview/multisamplecolortexture.md)
