---
title: LightmapResource.MeshPartLightmapDescriptor
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/lightmapresource/meshpartlightmapdescriptor
---

# LightmapResource.MeshPartLightmapDescriptor

Specifies bake descriptors for each instance of the given mesh part.

## Declaration

```swift
struct MeshPartLightmapDescriptor
```

## Topics

### Creating a descriptor

- [init(bakeDescriptor:)](realitykit/lightmapresource/meshpartlightmapdescriptor/init(bakedescriptor:).md)

## See Also

### Creating a lightmap resource

- [init(atlasTextures:perEntityData:)](realitykit/lightmapresource/init(atlastextures:perentitydata:).md)
- [init(perEntityData:)](realitykit/lightmapresource/init(perentitydata:).md)
- [LightmapResource.EntityLightmapDescriptor](realitykit/lightmapresource/entitylightmapdescriptor.md)
