---
title: submeshes
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmesh/submeshes
---

# submeshes

The array of submeshes to be used in rendering the mesh.

## Declaration

```swift
@NSCopying var submeshes: NSMutableArray? { get set }
```

## Discussion

Discussion Each submesh object provides index buffer and material information describing how some or all of the mesh’s vertex data is to be rendered.

## See Also

### Working with Vertex Data

- [boundingBox](modelio/mdlmesh/boundingbox.md)
- [vertexBuffers](modelio/mdlmesh/vertexbuffers.md)
- [vertexCount](modelio/mdlmesh/vertexcount.md)
- [vertexDescriptor](modelio/mdlmesh/vertexdescriptor.md)
- [allocator](modelio/mdlmesh/allocator.md)
- [addAttribute(withName:format:)](modelio/mdlmesh/addattribute(withname:format:).md)
- [addAttribute(withName:format:type:data:stride:)](modelio/mdlmesh/addattribute(withname:format:type:data:stride:).md)
- [addAttribute(withName:format:type:data:stride:time:)](modelio/mdlmesh/addattribute(withname:format:type:data:stride:time:).md)
- [removeAttributeNamed(_:)](modelio/mdlmesh/removeattributenamed(_:).md)
- [replaceAttributeNamed(_:with:)](modelio/mdlmesh/replaceattributenamed(_:with:).md)
- [updateAttributeNamed(_:with:)](modelio/mdlmesh/updateattributenamed(_:with:).md)
- [addUnwrappedTextureCoordinates(forAttributeNamed:)](modelio/mdlmesh/addunwrappedtexturecoordinates(forattributenamed:).md)
- [vertexAttributeData(forAttributeNamed:)](modelio/mdlmesh/vertexattributedata(forattributenamed:).md)
- [vertexAttributeData(forAttributeNamed:as:)](modelio/mdlmesh/vertexattributedata(forattributenamed:as:).md)
