---
title: "simd_make_uchar4(_:_:_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_make_uchar4(_:_:_:_:)"
---

# simd_make_uchar4(_:_:_:_:)

Returns a new vector from the specified scalar values.

## Declaration

```swift
func simd_make_uchar4(_ x: UInt8, _ y: UInt8, _ z: UInt8, _ w: UInt8) -> simd_uchar4
```

## See Also

### Functions to Create Four-Element Vectors From Scalar Values

- [simd_make_uchar4(_:)](simd/simd_make_uchar4(_:)-7gszj.md)
- [simd_make_uchar4_undef(_:)](simd/simd_make_uchar4_undef(_:)-7uno.md)
