kCIImageProviderTileSize

Static kCIImageProviderTileSize 

Source
pub unsafe static kCIImageProviderTileSize: &'static CIImageOption
Available on crate features CIImage and CIImageProvider only.
Expand description

Specifies the tile size that the Provide Image Data method will be called for.

This key and its value may be passed to:

  • /CIImage/imageWithImageProvider:size::format:colorSpace:options:
  • /CIImage/initWithImageProvider:size::format:colorSpace:options:

If the value of this key is: Value | Behavior of sub-rect passed to provideImageData:bytesPerRow:origin::size::userData: ––––––––––––– | –––––––––––––– Not specified | the entire image NSNumber | square tiles of size x size NSArray with 2 numbers | rectangular tiles of width x height. CIVector with 2 values | rectangular tiles of width x height. NSNull | can be called for any possible origin and size.

See also Apple’s documentation