---
title: "glUniform4i(_:_:_:_:_:)"
framework: OpenGL ES
role: symbol
role_heading: Function
platforms: [iOS 3.0+, iPadOS 3.0+, Mac Catalyst 3.0+, tvOS 9.0+]
path: "opengles/gluniform4i(_:_:_:_:_:)"
---

# glUniform4i(_:_:_:_:_:)

## Declaration

```swift
func glUniform4i(_ location: GLint, _ x: GLint, _ y: GLint, _ z: GLint, _ w: GLint)
```
