---
title: "maximum(_:)"
framework: gameplaykit
role: symbol
role_heading: Instance Method
path: "gameplaykit/gknoise/maximum(_:)"
---

# maximum(_:)

Replaces values in the noise field by choosing the lesser of each value and a corresponding value in the specified noise object.

## Declaration

```swift
func maximum(_ noise: GKNoise)
```

## Parameters

- `noise`: The noise object from which to compare and replace values.

## Discussion

Discussion In a grayscale texture, higher values are brighter and lower values are darker.

## See Also

### Applying Operations that Combine Noise

- [add(_:)](gameplaykit/gknoise/add(_:).md)
- [multiply(_:)](gameplaykit/gknoise/multiply(_:).md)
- [raiseToPower(_:)](gameplaykit/gknoise/raisetopower(_:)-zm5g.md)
- [minimum(_:)](gameplaykit/gknoise/minimum(_:).md)
