---
title: "texImageIOSurface(_:target:internalFormat:width:height:format:type:plane:)"
framework: opengles
role: symbol
role_heading: Instance Method
path: "opengles/eaglcontext/teximageiosurface(_:target:internalformat:width:height:format:type:plane:)"
---

# texImageIOSurface(_:target:internalFormat:width:height:format:type:plane:)

## Declaration

```swift
func texImageIOSurface(_ ioSurface: IOSurfaceRef, target: Int, internalFormat: Int, width: UInt32, height: UInt32, format: Int, type: Int, plane: UInt32) -> Bool
```
