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

# glVertexAttrib4f(_:_:_:_:_:)

## Declaration

```swift
func glVertexAttrib4f(_ indx: GLuint, _ x: GLfloat, _ y: GLfloat, _ z: GLfloat, _ w: GLfloat)
```
