forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblend_kernel.gen.go
713 lines (613 loc) · 31.1 KB
/
blend_kernel.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"unsafe"
"github.com/progrium/macdriver/macos/coregraphics"
"github.com/progrium/macdriver/macos/foundation"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [BlendKernel] class.
var BlendKernelClass = _BlendKernelClass{objc.GetClass("CIBlendKernel")}
type _BlendKernelClass struct {
objc.Class
}
// An interface definition for the [BlendKernel] class.
type IBlendKernel interface {
IColorKernel
ApplyWithForegroundBackgroundColorSpace(foreground IImage, background IImage, colorSpace coregraphics.ColorSpaceRef) Image
ApplyWithForegroundBackground(foreground IImage, background IImage) Image
}
// A GPU-based image processing routine that is optimized for blending two images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel?language=objc
type BlendKernel struct {
ColorKernel
}
func BlendKernelFrom(ptr unsafe.Pointer) BlendKernel {
return BlendKernel{
ColorKernel: ColorKernelFrom(ptr),
}
}
func (bc _BlendKernelClass) Alloc() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("alloc"))
return rv
}
func (bc _BlendKernelClass) New() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewBlendKernel() BlendKernel {
return BlendKernelClass.New()
}
func (b_ BlendKernel) Init() BlendKernel {
rv := objc.Call[BlendKernel](b_, objc.Sel("init"))
return rv
}
func (bc _BlendKernelClass) KernelWithFunctionNameFromMetalLibraryDataError(name string, data []byte, error foundation.IError) BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("kernelWithFunctionName:fromMetalLibraryData:error:"), name, data, objc.Ptr(error))
return rv
}
// Creates a single kernel object using a Metal Shading Language (MSL) kernel function. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cikernel/2880194-kernelwithfunctionname?language=objc
func BlendKernel_KernelWithFunctionNameFromMetalLibraryDataError(name string, data []byte, error foundation.IError) BlendKernel {
return BlendKernelClass.KernelWithFunctionNameFromMetalLibraryDataError(name, data, error)
}
func (bc _BlendKernelClass) KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data []byte, format Format, error foundation.IError) BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("kernelWithFunctionName:fromMetalLibraryData:outputPixelFormat:error:"), name, data, format, objc.Ptr(error))
return rv
}
// Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cikernel/2880195-kernelwithfunctionname?language=objc
func BlendKernel_KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data []byte, format Format, error foundation.IError) BlendKernel {
return BlendKernelClass.KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name, data, format, error)
}
// [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/3152403-applywithforeground?language=objc
func (b_ BlendKernel) ApplyWithForegroundBackgroundColorSpace(foreground IImage, background IImage, colorSpace coregraphics.ColorSpaceRef) Image {
rv := objc.Call[Image](b_, objc.Sel("applyWithForeground:background:colorSpace:"), objc.Ptr(foreground), objc.Ptr(background), colorSpace)
return rv
}
// Creates a new image using the blend kernel and specified foreground and background images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2919728-applywithforeground?language=objc
func (b_ BlendKernel) ApplyWithForegroundBackground(foreground IImage, background IImage) Image {
rv := objc.Call[Image](b_, objc.Sel("applyWithForeground:background:"), objc.Ptr(foreground), objc.Ptr(background))
return rv
}
// A blend kernel that darkens the background image samples to reflect the foreground image samples while also increasing contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867409-linearburn?language=objc
func (bc _BlendKernelClass) LinearBurn() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("linearBurn"))
return rv
}
// A blend kernel that darkens the background image samples to reflect the foreground image samples while also increasing contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867409-linearburn?language=objc
func BlendKernel_LinearBurn() BlendKernel {
return BlendKernelClass.LinearBurn()
}
// A blend kernel that returns the foreground input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867407-source?language=objc
func (bc _BlendKernelClass) Source() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("source"))
return rv
}
// A blend kernel that returns the foreground input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867407-source?language=objc
func BlendKernel_Source() BlendKernel {
return BlendKernelClass.Source()
}
// A blend kernel that either multiplies or screens the foreground image samples with the background image samples, depending on the background color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867411-overlay?language=objc
func (bc _BlendKernelClass) Overlay() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("overlay"))
return rv
}
// A blend kernel that either multiplies or screens the foreground image samples with the background image samples, depending on the background color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867411-overlay?language=objc
func BlendKernel_Overlay() BlendKernel {
return BlendKernelClass.Overlay()
}
// A blend kernel that brightens the background image samples to reflect the foreground image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867417-colordodge?language=objc
func (bc _BlendKernelClass) ColorDodge() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("colorDodge"))
return rv
}
// A blend kernel that brightens the background image samples to reflect the foreground image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867417-colordodge?language=objc
func BlendKernel_ColorDodge() BlendKernel {
return BlendKernelClass.ColorDodge()
}
// A blend kernel that produces an effect similar to difference blending but with lower contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867343-exclusion?language=objc
func (bc _BlendKernelClass) Exclusion() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("exclusion"))
return rv
}
// A blend kernel that produces an effect similar to difference blending but with lower contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867343-exclusion?language=objc
func BlendKernel_Exclusion() BlendKernel {
return BlendKernelClass.Exclusion()
}
// A blend kernel that uses the foreground image to define what to take out of the background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867415-sourceout?language=objc
func (bc _BlendKernelClass) SourceOut() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("sourceOut"))
return rv
}
// A blend kernel that uses the foreground image to define what to take out of the background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867415-sourceout?language=objc
func BlendKernel_SourceOut() BlendKernel {
return BlendKernelClass.SourceOut()
}
// A blend kernel that uses the hue and saturation of the background image with the luminance of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867423-luminosity?language=objc
func (bc _BlendKernelClass) Luminosity() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("luminosity"))
return rv
}
// A blend kernel that uses the hue and saturation of the background image with the luminance of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867423-luminosity?language=objc
func BlendKernel_Luminosity() BlendKernel {
return BlendKernelClass.Luminosity()
}
// A blend kernel that places the background image over the input foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867432-destinationover?language=objc
func (bc _BlendKernelClass) DestinationOver() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("destinationOver"))
return rv
}
// A blend kernel that places the background image over the input foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867432-destinationover?language=objc
func BlendKernel_DestinationOver() BlendKernel {
return BlendKernelClass.DestinationOver()
}
// A blend kernel that uses the background image to define what to take out of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867368-destinationout?language=objc
func (bc _BlendKernelClass) DestinationOut() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("destinationOut"))
return rv
}
// A blend kernel that uses the background image to define what to take out of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867368-destinationout?language=objc
func BlendKernel_DestinationOut() BlendKernel {
return BlendKernelClass.DestinationOut()
}
// A blend kernel that places the foreground over the background and crops based on the visibility of both. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867428-sourcein?language=objc
func (bc _BlendKernelClass) SourceIn() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("sourceIn"))
return rv
}
// A blend kernel that places the foreground over the background and crops based on the visibility of both. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867428-sourcein?language=objc
func BlendKernel_SourceIn() BlendKernel {
return BlendKernelClass.SourceIn()
}
// A blend kernel that returns a clear color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867388-clear?language=objc
func (bc _BlendKernelClass) Clear() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("clear"))
return rv
}
// A blend kernel that returns a clear color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867388-clear?language=objc
func BlendKernel_Clear() BlendKernel {
return BlendKernelClass.Clear()
}
// A blend kernel that subtracts the background image sample color from the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867370-subtract?language=objc
func (bc _BlendKernelClass) Subtract() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("subtract"))
return rv
}
// A blend kernel that subtracts the background image sample color from the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867370-subtract?language=objc
func BlendKernel_Subtract() BlendKernel {
return BlendKernelClass.Subtract()
}
// A blend kernel that multiplies the color components of its input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867406-componentmultiply?language=objc
func (bc _BlendKernelClass) ComponentMultiply() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("componentMultiply"))
return rv
}
// A blend kernel that multiplies the color components of its input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867406-componentmultiply?language=objc
func BlendKernel_ComponentMultiply() BlendKernel {
return BlendKernelClass.ComponentMultiply()
}
// A blend kernel that creates an image using the maximum values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867433-componentmax?language=objc
func (bc _BlendKernelClass) ComponentMax() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("componentMax"))
return rv
}
// A blend kernel that creates an image using the maximum values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867433-componentmax?language=objc
func BlendKernel_ComponentMax() BlendKernel {
return BlendKernelClass.ComponentMax()
}
// A blend kernel that multiplies the inverse of the foreground image samples with the inverse of the background image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867356-screen?language=objc
func (bc _BlendKernelClass) Screen() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("screen"))
return rv
}
// A blend kernel that multiplies the inverse of the foreground image samples with the inverse of the background image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867356-screen?language=objc
func BlendKernel_Screen() BlendKernel {
return BlendKernelClass.Screen()
}
// A blend kernel that conditionally replaces background image samples with source image samples depending on the brightness of the source image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867420-pinlight?language=objc
func (bc _BlendKernelClass) PinLight() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("pinLight"))
return rv
}
// A blend kernel that conditionally replaces background image samples with source image samples depending on the brightness of the source image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867420-pinlight?language=objc
func BlendKernel_PinLight() BlendKernel {
return BlendKernelClass.PinLight()
}
// A blend kernel that returns either the foreground or background image if the other contains a clear color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867421-exclusiveor?language=objc
func (bc _BlendKernelClass) ExclusiveOr() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("exclusiveOr"))
return rv
}
// A blend kernel that returns either the foreground or background image if the other contains a clear color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867421-exclusiveor?language=objc
func BlendKernel_ExclusiveOr() BlendKernel {
return BlendKernelClass.ExclusiveOr()
}
// A blend kernel that darkens the background image samples to reflect the foreground image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867391-colorburn?language=objc
func (bc _BlendKernelClass) ColorBurn() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("colorBurn"))
return rv
}
// A blend kernel that darkens the background image samples to reflect the foreground image samples. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867391-colorburn?language=objc
func BlendKernel_ColorBurn() BlendKernel {
return BlendKernelClass.ColorBurn()
}
// A blend kernel that burns or dodges colors by changing brightness, depending on the blend color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867435-linearlight?language=objc
func (bc _BlendKernelClass) LinearLight() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("linearLight"))
return rv
}
// A blend kernel that burns or dodges colors by changing brightness, depending on the blend color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867435-linearlight?language=objc
func BlendKernel_LinearLight() BlendKernel {
return BlendKernelClass.LinearLight()
}
// A blend kernel that multiplies the background image sample color with the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867419-multiply?language=objc
func (bc _BlendKernelClass) Multiply() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("multiply"))
return rv
}
// A blend kernel that multiplies the background image sample color with the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867419-multiply?language=objc
func BlendKernel_Multiply() BlendKernel {
return BlendKernelClass.Multiply()
}
// A blend kernel that creates an image using the difference between the background and foreground images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867416-difference?language=objc
func (bc _BlendKernelClass) Difference() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("difference"))
return rv
}
// A blend kernel that creates an image using the difference between the background and foreground images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867416-difference?language=objc
func BlendKernel_Difference() BlendKernel {
return BlendKernelClass.Difference()
}
// A blend kernel that either darkens or lightens colors, depending on the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867434-softlight?language=objc
func (bc _BlendKernelClass) SoftLight() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("softLight"))
return rv
}
// A blend kernel that either darkens or lightens colors, depending on the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867434-softlight?language=objc
func BlendKernel_SoftLight() BlendKernel {
return BlendKernelClass.SoftLight()
}
// A blend kernel that returns the background input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867422-destination?language=objc
func (bc _BlendKernelClass) Destination() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("destination"))
return rv
}
// A blend kernel that returns the background input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867422-destination?language=objc
func BlendKernel_Destination() BlendKernel {
return BlendKernelClass.Destination()
}
// A blend kernel that creates an image using the lighter values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867424-lighten?language=objc
func (bc _BlendKernelClass) Lighten() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("lighten"))
return rv
}
// A blend kernel that creates an image using the lighter values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867424-lighten?language=objc
func BlendKernel_Lighten() BlendKernel {
return BlendKernelClass.Lighten()
}
// A blend kernel that places the foreground over the background and crops based on the visibility of the background. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867357-sourceatop?language=objc
func (bc _BlendKernelClass) SourceAtop() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("sourceAtop"))
return rv
}
// A blend kernel that places the foreground over the background and crops based on the visibility of the background. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867357-sourceatop?language=objc
func BlendKernel_SourceAtop() BlendKernel {
return BlendKernelClass.SourceAtop()
}
// A blend kernel that lightens the background image samples to reflect the foreground image samples while also increasing contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867354-lineardodge?language=objc
func (bc _BlendKernelClass) LinearDodge() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("linearDodge"))
return rv
}
// A blend kernel that lightens the background image samples to reflect the foreground image samples while also increasing contrast. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867354-lineardodge?language=objc
func BlendKernel_LinearDodge() BlendKernel {
return BlendKernelClass.LinearDodge()
}
// A blend kernel that either multiplies or screens colors, depending on the source image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867418-hardlight?language=objc
func (bc _BlendKernelClass) HardLight() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("hardLight"))
return rv
}
// A blend kernel that either multiplies or screens colors, depending on the source image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867418-hardlight?language=objc
func BlendKernel_HardLight() BlendKernel {
return BlendKernelClass.HardLight()
}
// A blend kernel that adds color components to achieve a brightening effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867384-componentadd?language=objc
func (bc _BlendKernelClass) ComponentAdd() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("componentAdd"))
return rv
}
// A blend kernel that adds color components to achieve a brightening effect. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867384-componentadd?language=objc
func BlendKernel_ComponentAdd() BlendKernel {
return BlendKernelClass.ComponentAdd()
}
// A blend kernel that divides the background image sample color with the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867410-divide?language=objc
func (bc _BlendKernelClass) Divide() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("divide"))
return rv
}
// A blend kernel that divides the background image sample color with the foreground image sample color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867410-divide?language=objc
func BlendKernel_Divide() BlendKernel {
return BlendKernelClass.Divide()
}
// A blend kernel that uses the luminance values of the background with the hue and saturation values of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867350-color?language=objc
func (bc _BlendKernelClass) Color() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("color"))
return rv
}
// A blend kernel that uses the luminance values of the background with the hue and saturation values of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867350-color?language=objc
func BlendKernel_Color() BlendKernel {
return BlendKernelClass.Color()
}
// A blend kernel that adds two images together, setting each color channel value to either 0 or 1. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867347-hardmix?language=objc
func (bc _BlendKernelClass) HardMix() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("hardMix"))
return rv
}
// A blend kernel that adds two images together, setting each color channel value to either 0 or 1. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867347-hardmix?language=objc
func BlendKernel_HardMix() BlendKernel {
return BlendKernelClass.HardMix()
}
// A blend kernel that creates an image using the darker values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867348-darken?language=objc
func (bc _BlendKernelClass) Darken() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("darken"))
return rv
}
// A blend kernel that creates an image using the darker values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867348-darken?language=objc
func BlendKernel_Darken() BlendKernel {
return BlendKernelClass.Darken()
}
// A blend kernel that uses the luminance and hue values of the background image with the saturation of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867431-saturation?language=objc
func (bc _BlendKernelClass) Saturation() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("saturation"))
return rv
}
// A blend kernel that uses the luminance and hue values of the background image with the saturation of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867431-saturation?language=objc
func BlendKernel_Saturation() BlendKernel {
return BlendKernelClass.Saturation()
}
// A blend kernel that burns or dodges colors by changing contrast, depending on the blend color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867358-vividlight?language=objc
func (bc _BlendKernelClass) VividLight() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("vividLight"))
return rv
}
// A blend kernel that burns or dodges colors by changing contrast, depending on the blend color. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867358-vividlight?language=objc
func BlendKernel_VividLight() BlendKernel {
return BlendKernelClass.VividLight()
}
// A blend kernel that creates an image using the minimum values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867425-componentmin?language=objc
func (bc _BlendKernelClass) ComponentMin() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("componentMin"))
return rv
}
// A blend kernel that creates an image using the minimum values of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867425-componentmin?language=objc
func BlendKernel_ComponentMin() BlendKernel {
return BlendKernelClass.ComponentMin()
}
// A blend kernel that places the foreground image over the input background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867413-sourceover?language=objc
func (bc _BlendKernelClass) SourceOver() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("sourceOver"))
return rv
}
// A blend kernel that places the foreground image over the input background image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867413-sourceover?language=objc
func BlendKernel_SourceOver() BlendKernel {
return BlendKernelClass.SourceOver()
}
// A blend kernel that creates an image using the darker color of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867351-darkercolor?language=objc
func (bc _BlendKernelClass) DarkerColor() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("darkerColor"))
return rv
}
// A blend kernel that creates an image using the darker color of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867351-darkercolor?language=objc
func BlendKernel_DarkerColor() BlendKernel {
return BlendKernelClass.DarkerColor()
}
// A blend kernel that places the background over the foreground and crops based on the visibility of both. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867352-destinationin?language=objc
func (bc _BlendKernelClass) DestinationIn() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("destinationIn"))
return rv
}
// A blend kernel that places the background over the foreground and crops based on the visibility of both. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867352-destinationin?language=objc
func BlendKernel_DestinationIn() BlendKernel {
return BlendKernelClass.DestinationIn()
}
// A blend kernel that uses the luminance and saturation values of the background image with the hue of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867408-hue?language=objc
func (bc _BlendKernelClass) Hue() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("hue"))
return rv
}
// A blend kernel that uses the luminance and saturation values of the background image with the hue of the foreground image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867408-hue?language=objc
func BlendKernel_Hue() BlendKernel {
return BlendKernelClass.Hue()
}
// A blend kernel that creates an image using the lighter color of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867427-lightercolor?language=objc
func (bc _BlendKernelClass) LighterColor() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("lighterColor"))
return rv
}
// A blend kernel that creates an image using the lighter color of two input images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867427-lightercolor?language=objc
func BlendKernel_LighterColor() BlendKernel {
return BlendKernelClass.LighterColor()
}
// A blend kernel that places the background over the foreground and crops based on the visibility of the foreground. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867385-destinationatop?language=objc
func (bc _BlendKernelClass) DestinationAtop() BlendKernel {
rv := objc.Call[BlendKernel](bc, objc.Sel("destinationAtop"))
return rv
}
// A blend kernel that places the background over the foreground and crops based on the visibility of the foreground. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/ciblendkernel/2867385-destinationatop?language=objc
func BlendKernel_DestinationAtop() BlendKernel {
return BlendKernelClass.DestinationAtop()
}