---
title: "resultState(sourceImages:sourceStates:destinationImage:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnnmultiarykernel/resultstate(sourceimages:sourcestates:destinationimage:)"
---

# resultState(sourceImages:sourceStates:destinationImage:)

## Declaration

```swift
func resultState(sourceImages: [MPSImage], sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSState?
```
