---
title: GL_CONSTANT
framework: OpenGL ES
role: symbol
role_heading: Global Variable
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 2.0+, tvOS 9.0+, visionOS 1.0+]
path: opengles/gl_constant
---

# GL_CONSTANT

## Declaration

```swift
var GL_CONSTANT: Int32 { get }
```
