---
title: "resultState(sourceImage:sourceStates:destinationImage:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnnconvolutiontranspose/resultstate(sourceimage:sourcestates:destinationimage:)"
---

# resultState(sourceImage:sourceStates:destinationImage:)

## Declaration

```swift
func resultState(sourceImage: MPSImage, sourceStates: [MPSCNNConvolutionGradientState]?, destinationImage: MPSImage) -> MPSCNNConvolutionTransposeGradientState?
```
