<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/CompositorFrameIndex",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Compositor Services"
    ],
    "preciseIdentifier" : "c:@T@cp_compositor_frame_index_t"
  },
  "title" : "CompositorFrameIndex"
}
-->

# CompositorFrameIndex

The sequential index for a frame in the compositor’s timeline.

```
typealias CompositorFrameIndex = UInt64
```

## Discussion

During the creation of your content, the compositor creates frames for you to render your content.
This type stores the index the compositor assigns to that frame.
The compositor presents frames sequentially based on their indexes.

---

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)