<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ParavirtualizedGraphics",
  "identifier" : "/documentation/ParavirtualizedGraphics/PGDisplay/hostPresentCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Paravirtualized Graphics"
    ],
    "preciseIdentifier" : "c:objc(pl)PGDisplay(py)hostPresentCount"
  },
  "title" : "hostPresentCount"
}
-->

# hostPresentCount

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

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

## Discussion

The value of this property can be smaller than the number of times you’ve called the [`encodeCurrentFrame(to:texture:region:)`](/documentation/ParavirtualizedGraphics/PGDisplay/encodeCurrentFrame(to:texture:region:)) method if you encode the same frame multiple times.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)