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

# GLKVertexAttrib

Values used as indices in OpenGL code to associate vertex data with an attribute in a named shader effect.

## Declaration

```swift
enum GLKVertexAttrib
```

## Topics

### Constants

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

### Initializers

- [init(rawValue:)](glkit/glkvertexattrib/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
