<!--
{
  "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/ConstantLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer32LowLevelMaterialParameterMappingV16ConstantLocationV"
  },
  "title" : "LowLevelMaterialParameterMapping.ConstantLocation"
}
-->

# LowLevelMaterialParameterMapping.ConstantLocation

The resolved buffer and constant slot indices for a named constant parameter.

```
struct ConstantLocation
```

## Topics

### Accessing the constant index

[`var constantIndex: Int`](/documentation/RealityKit/LowLevelMaterialParameterMapping/ConstantLocation/constantIndex)

The index of the constant within the buffer slot’s constant array.

### Instance Properties

[`var bufferIndex: Int`](/documentation/RealityKit/LowLevelMaterialParameterMapping/ConstantLocation/bufferIndex)

The buffer slot index within the argument table.

## 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)