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

# glTexStorage3D(_:_:_:_:_:_:)

## Declaration

```swift
func glTexStorage3D(_ target: GLenum, _ levels: GLsizei, _ internalformat: GLenum, _ width: GLsizei, _ height: GLsizei, _ depth: GLsizei)
```
