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

# glGenVertexArrays(_:_:)

## Declaration

```swift
func glGenVertexArrays(_ n: GLsizei, _ arrays: UnsafeMutablePointer<GLuint>!)
```
