---
title: Swizzle
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node
path: shadergraph/data/swizzle
---

# Swizzle

Performs an arbitrary permutation of the channels of the input stream, returning a new stream of the specified type.

## Parameter Types

Parameter Types Parameter descriptions Discussion The Swizzle node determines its output by first looking at the Channels parameter. Each character in the Channel string represents one of the channels of the In parameter. For example, if you pass in a vector3 of (1, 5, 10) as the In parameter, “x” refers to 1, y to 5, and z to 10. The order of the characters determines how the channels of the input switch around to create the output. For the previous example, if the Channels parameter is “zzz”, the output is (10, 10, 10). note: The character length of Channels must be equal to the number of channels in the output. The table below shows additional examples of the swizzle node process:  |  |   |  |   |  |   |  |   |  |   |  |

## See Also

### Nodes

- [Convert](shadergraph/data/convert.md)
- [Combine 2](shadergraph/data/combine-2.md)
- [Combine 3](shadergraph/data/combine-3.md)
- [Combine 4](shadergraph/data/combine-4.md)
- [Extract](shadergraph/data/extract.md)
- [Separate 2](shadergraph/data/separate-2.md)
- [Separate 3](shadergraph/data/separate-3.md)
- [Separate 4](shadergraph/data/separate-4.md)
- [Primvar Reader](shadergraph/data/primvar-reader.md)
