---
title: Entity.WriteOptions
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/entity/writeoptions
---

# Entity.WriteOptions

Options for writing an entity to a RealityKit file.

## Declaration

```swift
struct WriteOptions
```

## Topics

### Configuring export options

- [preferFastExport](realitykit/entity/writeoptions/preferfastexport.md)
- [preferSmallTextureFiles(quality:)](realitykit/entity/writeoptions/prefersmalltexturefiles(quality:).md)
- [Entity.WriteOptions.TextureQuality](realitykit/entity/writeoptions/texturequality.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Writing an entity to a file

- [write(to:options:)](realitykit/entity/write(to:options:).md)
- [write(_:to:options:)](realitykit/entity/write(_:to:options:).md)
- [Entity.WriteError](realitykit/entity/writeerror.md)
