---
title: "glDepthRangex(_:_:)"
framework: OpenGL ES
role: symbol
role_heading: Function
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 2.0+, tvOS 9.0+]
path: "opengles/gldepthrangex(_:_:)"
---

# glDepthRangex(_:_:)

## Declaration

```swift
func glDepthRangex(_ zNear: GLclampx, _ zFar: GLclampx)
```
