---
title: holes
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlsubmeshtopology/holes
---

# holes

An index buffer identifying faces to be treated as holes in the mesh during surface subdivision.

## Declaration

```swift
var holes: (any MDLMeshBuffer)? { get set }
```

## Discussion

Discussion This buffer contains integer values where each integer is the index of a face to be treated as a hole. For example, if there are two holes in a mesh, then this buffer has two entries. Because the number of entries in this buffer is likely to be different than the number of entries in any other vertex buffer, it shouldn’t be interleaved with other data in the mesh.

## See Also

### Identifying Holes

- [holeCount](modelio/mdlsubmeshtopology/holecount.md)
