[coreimage] Add properties (to subbed) filters added in beta 2 (#4385)
This commit is contained in:
Родитель
8a3a30d054
Коммит
8a1db43d70
|
@ -32,6 +32,7 @@ using Foundation;
|
|||
using ObjCRuntime;
|
||||
using CoreGraphics;
|
||||
using CoreImage;
|
||||
using CoreML;
|
||||
using CoreVideo;
|
||||
using ImageIO;
|
||||
using IOSurface;
|
||||
|
@ -5495,7 +5496,11 @@ namespace CoreImage {
|
|||
[Mac (10,14, onlyOn64: true)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CICameraCalibrationLensCorrection {
|
||||
// FIXME
|
||||
[CoreImageFilterProperty ("inputAVCameraCalibrationData")]
|
||||
AVCameraCalibrationData AVCameraCalibrationData { get; set; }
|
||||
|
||||
[CoreImageFilterProperty ("inputUseInverseLookUpTable")]
|
||||
bool UseInverseLookUpTable { get; set; }
|
||||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
|
@ -5504,6 +5509,7 @@ namespace CoreImage {
|
|||
[Mac (10,14, onlyOn64: true)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CICoreMLModelFilter {
|
||||
// FIXME
|
||||
[CoreImageFilterProperty ("inputModel")]
|
||||
MLModel Model { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -189,6 +189,7 @@ public partial class Generator {
|
|||
case "int":
|
||||
print ("return GetInt (\"{0}\");", propertyName);
|
||||
break;
|
||||
case "MLModel":
|
||||
case "NSAttributedString":
|
||||
case "NSData":
|
||||
// NSNumber should not be added - it should be bound as a float (common), int32 or bool
|
||||
|
@ -233,6 +234,7 @@ public partial class Generator {
|
|||
case "CIColor":
|
||||
case "CIImage":
|
||||
case "CIVector":
|
||||
case "MLModel":
|
||||
case "NSAttributedString":
|
||||
case "NSData":
|
||||
// NSNumber should not be added - it should be bound as a int or a float
|
||||
|
|
|
@ -708,6 +708,7 @@ public class NamespaceManager
|
|||
ImplicitNamespaces.Add (Get ("Foundation"));
|
||||
ImplicitNamespaces.Add (Get ("ObjCRuntime"));
|
||||
ImplicitNamespaces.Add (Get ("CoreGraphics"));
|
||||
ImplicitNamespaces.Add (Get ("CoreML"));
|
||||
ImplicitNamespaces.Add (Get ("SceneKit"));
|
||||
|
||||
if (Frameworks.HaveAudioUnit)
|
||||
|
|
Загрузка…
Ссылка в новой задаче