---
title: MPSImageArithmetic
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsimagearithmetic
---

# MPSImageArithmetic

Base class for basic arithmetic nodes

## Declaration

```swift
class MPSImageArithmetic
```

## Topics

### Instance Properties

- [bias](metalperformanceshaders/mpsimagearithmetic/bias.md)
- [primaryScale](metalperformanceshaders/mpsimagearithmetic/primaryscale.md)
- [primaryStrideInPixels](metalperformanceshaders/mpsimagearithmetic/primarystrideinpixels.md)
- [secondaryScale](metalperformanceshaders/mpsimagearithmetic/secondaryscale.md)
- [secondaryStrideInPixels](metalperformanceshaders/mpsimagearithmetic/secondarystrideinpixels.md)
- [maximumValue](metalperformanceshaders/mpsimagearithmetic/maximumvalue.md)
- [minimumValue](metalperformanceshaders/mpsimagearithmetic/minimumvalue.md)

## Relationships

### Inherits From

- [MPSBinaryImageKernel](metalperformanceshaders/mpsbinaryimagekernel.md)

### Inherited By

- [MPSImageAdd](metalperformanceshaders/mpsimageadd.md)
- [MPSImageDivide](metalperformanceshaders/mpsimagedivide.md)
- [MPSImageMultiply](metalperformanceshaders/mpsimagemultiply.md)
- [MPSImageSubtract](metalperformanceshaders/mpsimagesubtract.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Image Arithmetic Filters

- [MPSImageAdd](metalperformanceshaders/mpsimageadd.md)
- [MPSImageSubtract](metalperformanceshaders/mpsimagesubtract.md)
- [MPSImageMultiply](metalperformanceshaders/mpsimagemultiply.md)
- [MPSImageDivide](metalperformanceshaders/mpsimagedivide.md)
