---
title: "init(type:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/lowlevelargumenttable/descriptor-swift.struct/texture/init(type:)"
---

# init(type:)

Creates a texture slot descriptor with the given texture type.

## Declaration

```swift
init(type: MTLTextureType)
```

## Parameters

- `type`: The texture type expected at this slot.
