public CISampler FromImage(CIImage sourceImage, CISamplerOptions options) { if (options == null) { return(FromImage(sourceImage)); } return(FromImage(sourceImage, options.ToDictionary())); }
public CISampler(CIImage sourceImage, CISamplerOptions options) : this(sourceImage, options == null ? null : options.ToDictionary()) { }