---
title: GL_TRUE
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_true
---

# GL_TRUE

## Declaration

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