<!--
{
  "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" : "USDKit",
  "identifier" : "/documentation/USDKit/USDPlayer/TextureData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit",
      "RealityKit",
      "_USDKit_RealityKit"
    ],
    "preciseIdentifier" : "s:18_USDKit_RealityKit9USDPlayerC11TextureDataV"
  },
  "title" : "USDPlayer.TextureData"
}
-->

# USDPlayer.TextureData

Texture data from a texture asset referenced by a material prim.

```
struct TextureData
```

## Topics

### Instance Properties

[`let assetPath: String`](/documentation/USDKit/USDPlayer/TextureData/assetPath)

Asset-relative path to the source texture file.

[`let data: Data`](/documentation/USDKit/USDPlayer/TextureData/data)

Packed texture data.

[`let descriptor: LowLevelTexture.Descriptor`](/documentation/USDKit/USDPlayer/TextureData/descriptor)

Texture dimensions, pixel format, and type.

[`let id: USDPlayer.TextureID`](/documentation/USDKit/USDPlayer/TextureData/id)

Unique identifier for this texture resource.

[`let layout: [USDPlayer.TextureLevelInfo]`](/documentation/USDKit/USDPlayer/TextureData/layout)

Per-mip-level byte-layout descriptors.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)