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

# glColorPointer(_:_:_:_:)

## Declaration

```swift
func glColorPointer(_ size: GLint, _ type: GLenum, _ stride: GLsizei, _ pointer: UnsafeRawPointer!)
```
