---
title: GLKVertexAttrib.color
framework: GLKit
role: symbol
role_heading: Case
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkvertexattrib/color
---

# GLKVertexAttrib.color

This index is used to provide the vertex color to a shader.

## Declaration

```swift
case color
```

## See Also

### Constants

- [GLKVertexAttrib.position](glkit/glkvertexattrib/position.md)
- [GLKVertexAttrib.normal](glkit/glkvertexattrib/normal.md)
- [GLKVertexAttrib.texCoord0](glkit/glkvertexattrib/texcoord0.md)
- [GLKVertexAttrib.texCoord1](glkit/glkvertexattrib/texcoord1.md)
