---
title: "init(rawValue:)"
framework: metal
role: symbol
role_heading: Initializer
path: "metal/mtlindirectcommandtype/init(rawvalue:)"
---

# init(rawValue:)

Initializes the set of command types from a raw integer value.

## Declaration

```swift
init(rawValue: UInt)
```
