<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "hvf",
  "identifier" : "/documentation/hvf/CompositeSubpart",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "hvf"
    ],
    "preciseIdentifier" : "s:3hvf16CompositeSubpartV"
  },
  "title" : "CompositeSubpart"
}
-->

# CompositeSubpart

A subpart in a Composite part

```
struct CompositeSubpart
```

## Topics

### Initializers

[`init(partIndex: UInt32, treePartOffset: UInt16, treeAxisOffset: UInt16)`](/documentation/hvf/CompositeSubpart/init(partIndex:treePartOffset:treeAxisOffset:))

### Instance Properties

[`var partIndex: UInt32`](/documentation/hvf/CompositeSubpart/partIndex)

The index of the part this subpart renders

[`var treeAxisOffset: UInt16`](/documentation/hvf/CompositeSubpart/treeAxisOffset)

The offset of the part’s axis value settings in the render context axis value tree (depth first)

[`var treePartOffset: UInt16`](/documentation/hvf/CompositeSubpart/treePartOffset)

The offset of the part’s data in the render context transform tree (depth first)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)