[coreimage] Add properties (to subbed) filters added in beta 2 (#4385)

This commit is contained in:
Sebastien Pouliot 2018-07-03 15:18:41 -04:00 коммит произвёл GitHub
Родитель 8a3a30d054
Коммит 8a1db43d70
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -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)