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

# indexCount

The number of indices in the submesh’s index buffer.

## Declaration

```swift
var indexCount: Int { get }
```

## Discussion

Discussion Use this index count when rendering the submesh.

## See Also

### Working with a Submesh’s Index Buffer

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