---
title: discard
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/environmentresource/skyboxmode/discard
---

# discard

Only keep a low-resolution proxy of the skybox, reducing memory usage.

## Declaration

```swift
static var discard: EnvironmentResource.SkyboxMode { get }
```

## Discussion

Discussion note: The skybox is not needed for lighting with VirtualEnvironmentProbeComponent and ImageBasedLightComponent.

## See Also

### Choosing a skybox mode

- [preserve](realitykit/environmentresource/skyboxmode/preserve.md)
