<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeNodeGraph/StructureDefinition/layout",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0a4NodeB0V19StructureDefinitionV6layoutAC0D6LayoutVvp"
  },
  "title" : "layout"
}
-->

# layout

The in-memory layout of the structure’s members.

```
var layout: ComputeNodeGraph.StructureLayout
```

## Discussion

The layout describes each member’s name, byte offset, and type, along
with the structure’s size and stride. See [`ComputeNodeGraph.StructureLayout`](/documentation/ComputeGraph/ComputeNodeGraph/StructureLayout).

---

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)