<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLSubmeshTopology/edgeCreaseCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLSubmeshTopology(py)edgeCreaseCount"
  },
  "title" : "edgeCreaseCount"
}
-->

# edgeCreaseCount

The number of entries in the edge creases buffers.

```
var edgeCreaseCount: Int { get set }
```

## Discussion

The [`edgeCreases`](/documentation/ModelIO/MDLSubmeshTopology/edgeCreases) buffer contains this number of crease values. Because each edge is composed of two vertices, the [`edgeCreaseIndices`](/documentation/ModelIO/MDLSubmeshTopology/edgeCreaseIndices) buffer contains twice this number of vertex indices.

---

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)