<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnyMeshBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation13AnyMeshBufferV"
  },
  "title" : "AnyMeshBuffer"
}
-->

# AnyMeshBuffer

Mesh buffer stored in the container.

```
struct AnyMeshBuffer
```

## Topics

### Inspecting a mesh buffer

[`var elementType: MeshBuffers.ElementType`](/documentation/RealityKit/AnyMeshBuffer/elementType)

[`var id: MeshBuffers.Identifier`](/documentation/RealityKit/AnyMeshBuffer/id)

[`var rate: MeshBuffers.Rate`](/documentation/RealityKit/AnyMeshBuffer/rate)

[`func get<Value>(Value.Type) -> MeshBuffer<Value>?`](/documentation/RealityKit/AnyMeshBuffer/get(_:))

### Instance Properties

[`var count: Int`](/documentation/RealityKit/AnyMeshBuffer/count)

---

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)