---
title: LightmapResource.AtlasReference
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/lightmapresource/atlasreference
---

# LightmapResource.AtlasReference

Specifies an area in a lightmap atlas to fetch data from.

## Declaration

```swift
struct AtlasReference
```

## Topics

### Locating the atlas texture

- [atlasTextureIndex](realitykit/lightmapresource/atlasreference/atlastextureindex.md)
- [atlasTextureSlice](realitykit/lightmapresource/atlasreference/atlastextureslice.md)

### Mapping texture coordinates

- [uvScale](realitykit/lightmapresource/atlasreference/uvscale.md)
- [uvOffset](realitykit/lightmapresource/atlasreference/uvoffset.md)

### Initializers

- [init()](realitykit/lightmapresource/atlasreference/init().md)

## See Also

### Inspecting lightmap contents

- [entityCount](realitykit/lightmapresource/entitycount.md)
