<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSImageArithmetic",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSImageArithmetic"
  },
  "title" : "MPSImageArithmetic"
}
-->

# MPSImageArithmetic

Base class for basic arithmetic nodes

```
class MPSImageArithmetic
```

## Topics

### Instance Properties

[`bias`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/bias)

[`primaryScale`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/primaryScale)

[`primaryStrideInPixels`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/primaryStrideInPixels)

[`secondaryScale`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/secondaryScale)

[`secondaryStrideInPixels`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/secondaryStrideInPixels)

[`maximumValue`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/maximumValue)

[`minimumValue`](/documentation/MetalPerformanceShaders/MPSImageArithmetic/minimumValue)

## Relationships

### Inherited By

[`MPSImageMultiply`](/documentation/MetalPerformanceShaders/MPSImageMultiply)

[`MPSImageDivide`](/documentation/MetalPerformanceShaders/MPSImageDivide)

[`MPSImageSubtract`](/documentation/MetalPerformanceShaders/MPSImageSubtract)

[`MPSImageAdd`](/documentation/MetalPerformanceShaders/MPSImageAdd)

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`MPSBinaryImageKernel`](/documentation/MetalPerformanceShaders/MPSBinaryImageKernel)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)