---
title: GL_SAMPLES
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_samples
---

# GL_SAMPLES

## Declaration

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