---
title: surface
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciimageprocessorinput/surface
---

# surface

An input surface object that your Core Image Processor Kernel can read from.

## Declaration

```swift
var surface: IOSurfaceRef { get }
```

## Discussion

Discussion warning: This surface must not be modified by the CIImageProcessorKernel.

## See Also

### Accessing Input Image Data

- [baseAddress](coreimage/ciimageprocessorinput/baseaddress.md)
- [metalTexture](coreimage/ciimageprocessorinput/metaltexture.md)
- [pixelBuffer](coreimage/ciimageprocessorinput/pixelbuffer.md)
