---
title: GL_LIGHT2
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_light2
---

# GL_LIGHT2

## Declaration

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