---
title: hostPresentCount
framework: Paravirtualized Graphics
role: symbol
role_heading: Instance Property
platforms: [Mac Catalyst 14.0+, macOS 11.0+]
path: paravirtualizedgraphics/pgdisplay/hostpresentcount
---

# hostPresentCount

The number of unique frames that the host has encoded since object creation.

## Declaration

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

## Discussion

Discussion The value of this property can be smaller than the number of times you’ve called the encodeCurrentFrame(to:texture:region:) method if you encode the same frame multiple times.

## See Also

### Handling Frame Updates

- [guestPresentCount](paravirtualizedgraphics/pgdisplay/guestpresentcount.md)
- [minimumTextureUsage](paravirtualizedgraphics/pgdisplay/minimumtextureusage.md)
- [encodeCurrentFrame(to:texture:region:)](paravirtualizedgraphics/pgdisplay/encodecurrentframe(to:texture:region:).md)
