<!--
{
  "availability" : [
    "macOS: 27.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpatialPreview",
  "identifier" : "/documentation/SpatialPreview/USDPreviewSession/OptimizationSteps/compressed",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Spatial Preview",
      "USDKit"
    ],
    "preciseIdentifier" : "s:22_SpatialPreview_USDKit17USDPreviewSessionC17OptimizationStepsV10compressedAEvpZ"
  },
  "title" : "compressed"
}
-->

# compressed

Allows the USD stage’s textures and meshes to be compressed before previewing on a device.
Reduces the transmission file size of the USD stage by compressing textures and meshes to
minimize the data sent, and is only applied when the stage exceeds the compression threshold.
Can be combined with `.optimized` — compression runs after the `.optimized` optimization step
on the resulting stage.

```
static let compressed: USDPreviewSession.OptimizationSteps
```

---

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)