<!--
{
  "documentType" : "article",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/sampler-option-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Sampler Option Values"
}
-->

# Sampler Option Values

Values for sampler option keys.

## Topics

### Constants

[`let kCISamplerWrapBlack: String`](/documentation/CoreImage/kCISamplerWrapBlack)

Pixels are transparent black.

[`let kCISamplerWrapClamp: String`](/documentation/CoreImage/kCISamplerWrapClamp)

Coordinates are clamped to the extent.

[`let kCISamplerFilterNearest: String`](/documentation/CoreImage/kCISamplerFilterNearest)

Nearest neighbor sampling.

[`let kCISamplerFilterLinear: String`](/documentation/CoreImage/kCISamplerFilterLinear)

Bilinear interpolation.



---

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)