Creates and returns a sampler that references an image using options specified in a dictionary.
Original signature is '+ (CISampler *)samplerWithImage:(CIImage *)im options:(NSDictionary *)dict'
Available in 4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CISampler SamplerWithImageOptions( CIImage im, NSDictionary dict )
Public Shared Function SamplerWithImageOptions ( _ im As CIImage, _ dict As NSDictionary _ ) As CISampler
public: static CISampler^ SamplerWithImageOptions( CIImage^ im, NSDictionary^ dict )
Parameters
- im (CIImage)
- The image that you want the sampler to reference.
- dict (NSDictionary)
- A dictionary that contains options specified as key-value pairs. See “Sampler Option Keys”.
Return Value
A sampler that references the image specified by the im argument and uses the options specified in the dictionary.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)