예제 #1
0
 public CISampler FromImage(CIImage sourceImage, CISamplerOptions options)
 {
     if (options == null)
     {
         return(FromImage(sourceImage));
     }
     return(FromImage(sourceImage, options.ToDictionary()));
 }
예제 #2
0
 public CISampler(CIImage sourceImage, CISamplerOptions options) : this(sourceImage, options == null ? null : options.ToDictionary())
 {
 }