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

# glOrthof(_:_:_:_:_:_:)

## Declaration

```swift
func glOrthof(_ left: GLfloat, _ right: GLfloat, _ bottom: GLfloat, _ top: GLfloat, _ zNear: GLfloat, _ zFar: GLfloat)
```
