<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LightmapComponent/SurfaceExtractor/ExtractionMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation17LightmapComponentV16SurfaceExtractorC14ExtractionModeO"
  },
  "title" : "LightmapComponent.SurfaceExtractor.ExtractionMode"
}
-->

# LightmapComponent.SurfaceExtractor.ExtractionMode

Specifies what surface property to extract.

```
enum ExtractionMode
```

## Topics

### Choosing the extraction mode

[`case finalShadedColor`](/documentation/RealityKit/LightmapComponent/SurfaceExtractor/ExtractionMode/finalShadedColor)

This will extract the final shaded color as it would be normally rendered, with all the
effects from lights, shadows, etc.
View-dependent effects like specular highlights will be consistent with the camera transform
provided to `extractSurfacesForAtlasSlice`.

[`case baseColor`](/documentation/RealityKit/LightmapComponent/SurfaceExtractor/ExtractionMode/baseColor)

## Relationships

### Conforms To

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

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

---

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)