---
title: topology
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlsubmesh/topology
---

# topology

A description of how the non-uniform layout of the submesh’s index buffer defines the shape of the mesh.

## Declaration

```swift
var topology: MDLSubmeshTopology? { get set }
```

## Discussion

Discussion Submeshes with non-uniform topology can also contain edge and vertex crease information for use by the newSubdividedMesh(_:submeshIndex:subdivisionLevels:) method.

## See Also

### Working with a Submesh’s Index Buffer

- [indexBuffer](modelio/mdlsubmesh/indexbuffer.md)
- [indexCount](modelio/mdlsubmesh/indexcount.md)
- [indexType](modelio/mdlsubmesh/indextype.md)
- [geometryType](modelio/mdlsubmesh/geometrytype.md)
- [indexBuffer(asIndexType:)](modelio/mdlsubmesh/indexbuffer(asindextype:).md)
