<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeNodeGraph/SwizzleChannels/init(red:green:blue:alpha:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0a4NodeB0V15SwizzleChannelsV3red5green4blue5alphaA2E0D0O_A3Ktcfc"
  },
  "title" : "init(red:green:blue:alpha:)"
}
-->

# init(red:green:blue:alpha:)

```
init(red: ComputeNodeGraph.SwizzleChannels.Swizzle = .red, green: ComputeNodeGraph.SwizzleChannels.Swizzle = .green, blue: ComputeNodeGraph.SwizzleChannels.Swizzle = .blue, alpha: ComputeNodeGraph.SwizzleChannels.Swizzle = .alpha)
```

---

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)