---
title: resourceViewCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlresourceviewpooldescriptor/resourceviewcount
---

# resourceViewCount

Configures the number of resource views with which Metal creates the resource view pool.

## Declaration

```swift
var resourceViewCount: Int { get set }
```
