<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"
  },
  "title" : "TextureResource.DrawableQueue.Descriptor"
}
-->

# TextureResource.DrawableQueue.Descriptor

Describes the texture managed by the drawable queue

```
struct Descriptor
```

## Topics

### Initializers

[`init(pixelFormat: MTLPixelFormat, width: Int, height: Int, usage: MTLTextureUsage, mipmapsMode: TextureResource.MipmapsMode)`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/init(pixelFormat:width:height:usage:mipmapsMode:))

[`init(pixelFormat: MTLPixelFormat, width: Int, height: Int, usage: MTLTextureUsage, mipmapsMode: TextureResource.MipmapsMode, timeout: Duration)`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/init(pixelFormat:width:height:usage:mipmapsMode:timeout:))

### Instance Properties

[`var height: Int`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/height)

The height of each drawable’s texture in pixels.

[`var mipmapsMode: TextureResource.MipmapsMode`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/mipmapsMode)

A Boolean value that determines whether the resource should generate mipmaps for each drawable’s texture after it was updated.

[`var pixelFormat: MTLPixelFormat`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/pixelFormat)

The size and bit layout of all pixels in each drawable’s texture.

[`var timeout: Duration`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/timeout)

Specifies a timeout value in seconds when querying nextDrawable().
nextDrawable() will be blocked for up to the specified timeout period for a drawable to become available else throws `NextDrawableError.timeoutReached`.
By default this is set to 1 second. Note that if `allowsNextDrawableTimeout` is false, then the timeout parameter will be ignored.

[`var usage: MTLTextureUsage`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/usage)

Options that determine how you can use each drawable’s textures.

[`var width: Int`](/documentation/RealityKit/TextureResource/DrawableQueue-swift.class/Descriptor/width)

The width of each drawable’s texture in pixels.

---

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)