forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepth_to_disparity_protocol.gen.go
51 lines (41 loc) · 1.48 KB
/
depth_to_disparity_protocol.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
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a depth-to-disparity filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthtodisparity?language=objc
type PDepthToDisparity interface {
// optional
SetInputImage(value Image)
HasSetInputImage() bool
// optional
InputImage() Image
HasInputImage() bool
}
// ensure impl type implements protocol interface
var _ PDepthToDisparity = (*DepthToDisparityObject)(nil)
// A concrete type for the [PDepthToDisparity] protocol.
type DepthToDisparityObject struct {
objc.Object
}
func (d_ DepthToDisparityObject) HasSetInputImage() bool {
return d_.RespondsToSelector(objc.Sel("setInputImage:"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthtodisparity/3228212-inputimage?language=objc
func (d_ DepthToDisparityObject) SetInputImage(value Image) {
objc.Call[objc.Void](d_, objc.Sel("setInputImage:"), objc.Ptr(value))
}
func (d_ DepthToDisparityObject) HasInputImage() bool {
return d_.RespondsToSelector(objc.Sel("inputImage"))
}
// The image to use as an input image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cidepthtodisparity/3228212-inputimage?language=objc
func (d_ DepthToDisparityObject) InputImage() Image {
rv := objc.Call[Image](d_, objc.Sel("inputImage"))
return rv
}