---
title: currentMTL4RenderPassDescriptor
framework: metalkit
role: symbol
role_heading: Instance Property
path: metalkit/mtkview/currentmtl4renderpassdescriptor
---

# currentMTL4RenderPassDescriptor

## Declaration

```swift
var currentMTL4RenderPassDescriptor: MTL4RenderPassDescriptor? { get }
```

## Discussion

Discussion A render pass descriptor generated from the currentDrawable’s texture and the view’s depth, stencil, and sample buffers and clear values. This is a convience property.  The view does not use this descriptor and there is no requirement for an app to use this descriptor.
