---
title: "ComputeNodeGraph.NodeDefinition.Kind.swizzle(type:channels:)"
framework: Compute Graph
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/nodedefinition/kind-swift.enum/swizzle(type:channels:)"
---

# ComputeNodeGraph.NodeDefinition.Kind.swizzle(type:channels:)

A swizzle operation for the given vector data type and channel specification

## Declaration

```swift
case swizzle(type: ComputeNodeGraph.DataType, channels: ComputeNodeGraph.SwizzleChannels)
```
