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

# resourceViewCount

Queries the number of resource views that this pool contains.

## Declaration

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