---
title: "temporaryResultState(commandBuffer:sourceImage:sourceStates:destinationImage:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnninstancenormalization/temporaryresultstate(commandbuffer:sourceimage:sourcestates:destinationimage:)"
---

# temporaryResultState(commandBuffer:sourceImage:sourceStates:destinationImage:)

## Declaration

```swift
func temporaryResultState(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNInstanceNormalizationGradientState?
```
