<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelMaterialParameterMapping/Buffer",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer32LowLevelMaterialParameterMappingV6BufferO"
  },
  "title" : "LowLevelMaterialParameterMapping.Buffer"
}
-->

# LowLevelMaterialParameterMapping.Buffer

The contents of a buffer slot, either a collection of packed constants or a single
structured buffer.

```
enum Buffer
```

## Topics

### Creating a buffer mapping

[`case buffer(LowLevelMaterialParameterMapping.BufferParameter)`](/documentation/RealityKit/LowLevelMaterialParameterMapping/Buffer/buffer(_:))

A buffer slot containing a single structured buffer.

[`case constants([LowLevelMaterialParameterMapping.ConstantParameter])`](/documentation/RealityKit/LowLevelMaterialParameterMapping/Buffer/constants(_:))

A buffer slot containing packed constants.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)