<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MaterialColorParameter",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit22MaterialColorParameterO"
  },
  "title" : "MaterialColorParameter"
}
-->

# MaterialColorParameter

The color parameter applied to a material.

```
enum MaterialColorParameter
```

## Topics

### Selecting color parameters

[`case color(NSColor)`](/documentation/RealityKit/MaterialColorParameter/color(_:)-7gx04)

A color value in macOS.

[`case texture(TextureResource)`](/documentation/RealityKit/MaterialColorParameter/texture(_:))

A texture resource.

### Comparing material color parameters

### Operators

[`static func == (MaterialColorParameter, MaterialColorParameter) -> Bool`](/documentation/RealityKit/MaterialColorParameter/==(_:_:))

Indicates whether two color parameters are equal.

### Enumeration Cases

[`case color(UIColor)`](/documentation/RealityKit/MaterialColorParameter/color(_:)-49aw0)

A color value in macOS.

### Instance Methods

[`func hash(into: inout Hasher)`](/documentation/RealityKit/MaterialColorParameter/hash(into:))

Hashes the essential components of the color parameter by feeding them
into the given hash function.

## Relationships

### Conforms To

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

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

---

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)