<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/EnvironmentResource/SkyboxMode/discard",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19EnvironmentResourceC10SkyboxModeV7discardAEvpZ"
  },
  "title" : "discard"
}
-->

# discard

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

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

## Discussion> Note: The skybox is not needed for lighting
> with `VirtualEnvironmentProbeComponent` and
> `ImageBasedLightComponent`.

---

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)