[tvos] Add missing attributes to get introspection to works on tvOS 9.0, 9.1, 9.2 and 10.0 (#798)
This commit is contained in:
Родитель
febbc22073
Коммит
4b90fce057
|
@ -382,11 +382,13 @@ namespace XamCore.CoreGraphics {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||||
static extern /* CFDataRef* */ IntPtr CGColorSpaceCopyICCData (/* CGColorSpaceRef */ IntPtr space);
|
static extern /* CFDataRef* */ IntPtr CGColorSpaceCopyICCData (/* CGColorSpaceRef */ IntPtr space);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
public NSData GetIccData ()
|
public NSData GetIccData ()
|
||||||
{
|
{
|
||||||
IntPtr ptr = CGColorSpaceCopyICCData (handle);
|
IntPtr ptr = CGColorSpaceCopyICCData (handle);
|
||||||
|
@ -394,10 +396,12 @@ namespace XamCore.CoreGraphics {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||||
static extern unsafe /* CFStringRef* */ IntPtr CGColorSpaceCopyName (/* CGColorSpaceRef */ IntPtr space);
|
static extern unsafe /* CFStringRef* */ IntPtr CGColorSpaceCopyName (/* CGColorSpaceRef */ IntPtr space);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
public string Name {
|
public string Name {
|
||||||
get {
|
get {
|
||||||
return CFString.FetchString (CGColorSpaceCopyName (handle));
|
return CFString.FetchString (CGColorSpaceCopyName (handle));
|
||||||
|
@ -406,11 +410,13 @@ namespace XamCore.CoreGraphics {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||||
static extern bool CGColorSpaceIsWideGamutRGB (/* CGColorSpaceRef */ IntPtr space);
|
static extern bool CGColorSpaceIsWideGamutRGB (/* CGColorSpaceRef */ IntPtr space);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
public bool IsWideGamutRgb {
|
public bool IsWideGamutRgb {
|
||||||
get {
|
get {
|
||||||
return CGColorSpaceIsWideGamutRGB (handle);
|
return CGColorSpaceIsWideGamutRGB (handle);
|
||||||
|
@ -418,10 +424,12 @@ namespace XamCore.CoreGraphics {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||||
static extern bool CGColorSpaceSupportsOutput (/* CGColorSpaceRef */ IntPtr space);
|
static extern bool CGColorSpaceSupportsOutput (/* CGColorSpaceRef */ IntPtr space);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
public bool SupportsOutput {
|
public bool SupportsOutput {
|
||||||
get {
|
get {
|
||||||
return CGColorSpaceSupportsOutput (handle);
|
return CGColorSpaceSupportsOutput (handle);
|
||||||
|
|
|
@ -242,6 +242,22 @@ namespace XamCore.Foundation {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public T [] EnumsFromHandle<T> (IntPtr handle) where T : struct, IConvertible
|
||||||
|
{
|
||||||
|
if (handle == IntPtr.Zero)
|
||||||
|
return null;
|
||||||
|
if (!typeof (T).IsEnum)
|
||||||
|
throw new ArgumentException ("T must be an enum");
|
||||||
|
|
||||||
|
var c = GetCount (handle);
|
||||||
|
T [] ret = new T [c];
|
||||||
|
|
||||||
|
for (uint i = 0; i < c; i++) {
|
||||||
|
ret [i] = (T) Convert.ChangeType (UnsafeGetItem<NSNumber> (handle, i).LongValue, typeof (T));
|
||||||
|
}
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
static public T [] FromArray<T> (NSArray weakArray) where T : NSObject
|
static public T [] FromArray<T> (NSArray weakArray) where T : NSObject
|
||||||
{
|
{
|
||||||
if (weakArray == null || weakArray.Handle == IntPtr.Zero)
|
if (weakArray == null || weakArray.Handle == IntPtr.Zero)
|
||||||
|
|
|
@ -23,10 +23,12 @@ namespace XamCore.Metal {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.MetalKitLibrary)]
|
[DllImport (Constants.MetalKitLibrary)]
|
||||||
static extern /* MTLVertexDescriptor __nonnull */ IntPtr MTKMetalVertexDescriptorFromModelIOWithError (/* MDLVertexDescriptor __nonnull */ IntPtr modelIODescriptor, out IntPtr error);
|
static extern /* MTLVertexDescriptor __nonnull */ IntPtr MTKMetalVertexDescriptorFromModelIOWithError (/* MDLVertexDescriptor __nonnull */ IntPtr modelIODescriptor, out IntPtr error);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
public static MTLVertexDescriptor FromModelIO (MDLVertexDescriptor descriptor, out NSError error)
|
public static MTLVertexDescriptor FromModelIO (MDLVertexDescriptor descriptor, out NSError error)
|
||||||
{
|
{
|
||||||
if (descriptor == null)
|
if (descriptor == null)
|
||||||
|
|
|
@ -20,10 +20,12 @@ namespace XamCore.ModelIO {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.MetalKitLibrary)]
|
[DllImport (Constants.MetalKitLibrary)]
|
||||||
static extern /* MDLVertexDescriptor __nonnull */ IntPtr MTKModelIOVertexDescriptorFromMetalWithError (/* MTLVertexDescriptor __nonnull */ IntPtr metalDescriptor, out /* NSError */ IntPtr error);
|
static extern /* MDLVertexDescriptor __nonnull */ IntPtr MTKModelIOVertexDescriptorFromMetalWithError (/* MTLVertexDescriptor __nonnull */ IntPtr metalDescriptor, out /* NSError */ IntPtr error);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
public static MDLVertexDescriptor FromMetal (MTLVertexDescriptor descriptor, out NSError error)
|
public static MDLVertexDescriptor FromMetal (MTLVertexDescriptor descriptor, out NSError error)
|
||||||
{
|
{
|
||||||
if (descriptor == null)
|
if (descriptor == null)
|
||||||
|
|
|
@ -552,10 +552,12 @@ namespace XamCore.Security {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.SecurityLibrary)]
|
[DllImport (Constants.SecurityLibrary)]
|
||||||
static extern int SSLSetSessionConfig (IntPtr /* SSLContextRef* */ context, IntPtr /* CFStringRef* */ config);
|
static extern int SSLSetSessionConfig (IntPtr /* SSLContextRef* */ context, IntPtr /* CFStringRef* */ config);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[EditorBrowsable (EditorBrowsableState.Advanced)]
|
[EditorBrowsable (EditorBrowsableState.Advanced)]
|
||||||
public int SetSessionConfig (NSString config)
|
public int SetSessionConfig (NSString config)
|
||||||
{
|
{
|
||||||
|
@ -566,6 +568,7 @@ namespace XamCore.Security {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
public int SetSessionConfig (SslSessionConfig config)
|
public int SetSessionConfig (SslSessionConfig config)
|
||||||
{
|
{
|
||||||
return SetSessionConfig (config.GetConstant ());
|
return SetSessionConfig (config.GetConstant ());
|
||||||
|
@ -573,10 +576,13 @@ namespace XamCore.Security {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[DllImport (Constants.SecurityLibrary)]
|
[DllImport (Constants.SecurityLibrary)]
|
||||||
static extern int SSLReHandshake (IntPtr /* SSLContextRef* */ context);
|
static extern int SSLReHandshake (IntPtr /* SSLContextRef* */ context);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
public int ReHandshake ()
|
public int ReHandshake ()
|
||||||
{
|
{
|
||||||
return SSLReHandshake (Handle);
|
return SSLReHandshake (Handle);
|
||||||
|
|
|
@ -431,11 +431,13 @@ namespace XamCore.AudioUnit {
|
||||||
float GetValue (string str);
|
float GetValue (string str);
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Internal]
|
[Internal]
|
||||||
[Export ("setValue:originator:atHostTime:eventType:")]
|
[Export ("setValue:originator:atHostTime:eventType:")]
|
||||||
void SetValue (float value, IntPtr originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
void SetValue (float value, IntPtr originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Wrap ("SetValue (value, originator.ObserverToken, hostTime, eventType)")]
|
[Wrap ("SetValue (value, originator.ObserverToken, hostTime, eventType)")]
|
||||||
void SetValue (float value, AUParameterObserverToken originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
void SetValue (float value, AUParameterObserverToken originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
||||||
}
|
}
|
||||||
|
@ -502,11 +504,13 @@ namespace XamCore.AudioUnit {
|
||||||
AUImplementorDisplayNameWithLengthCallback ImplementorDisplayNameWithLengthCallback { get; set; }
|
AUImplementorDisplayNameWithLengthCallback ImplementorDisplayNameWithLengthCallback { get; set; }
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Internal]
|
[Internal]
|
||||||
[Export ("tokenByAddingParameterAutomationObserver:")]
|
[Export ("tokenByAddingParameterAutomationObserver:")]
|
||||||
IntPtr _GetToken (AUParameterAutomationObserver observer);
|
IntPtr _GetToken (AUParameterAutomationObserver observer);
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0), Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Wrap ("new AUParameterObserverToken (_GetToken (observer))")]
|
[Wrap ("new AUParameterObserverToken (_GetToken (observer))")]
|
||||||
AUParameterObserverToken GetToken (AUParameterAutomationObserver observer);
|
AUParameterObserverToken GetToken (AUParameterAutomationObserver observer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9334,10 +9334,12 @@ namespace XamCore.AVFoundation {
|
||||||
void DidOutputTimedMetadataGroups (AVPlayerItemMetadataOutput output, AVTimedMetadataGroup [] groups, AVPlayerItemTrack track);
|
void DidOutputTimedMetadataGroups (AVPlayerItemMetadataOutput output, AVTimedMetadataGroup [] groups, AVPlayerItemTrack track);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[iOS (10,0)]
|
||||||
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[NoWatch]
|
[NoWatch]
|
||||||
[Static]
|
[Static]
|
||||||
interface AVVideoColorPrimaries {
|
interface AVVideoColorPrimaries {
|
||||||
[iOS (10, 0)]
|
|
||||||
[Field ("AVVideoColorPrimaries_ITU_R_709_2")]
|
[Field ("AVVideoColorPrimaries_ITU_R_709_2")]
|
||||||
NSString Itu_R_709_2 { get; }
|
NSString Itu_R_709_2 { get; }
|
||||||
|
|
||||||
|
@ -9345,11 +9347,10 @@ namespace XamCore.AVFoundation {
|
||||||
[Field ("AVVideoColorPrimaries_EBU_3213")]
|
[Field ("AVVideoColorPrimaries_EBU_3213")]
|
||||||
NSString Ebu_3213 { get; }
|
NSString Ebu_3213 { get; }
|
||||||
|
|
||||||
[iOS (10, 0)]
|
|
||||||
[Field ("AVVideoColorPrimaries_SMPTE_C")]
|
[Field ("AVVideoColorPrimaries_SMPTE_C")]
|
||||||
NSString Smpte_C { get; }
|
NSString Smpte_C { get; }
|
||||||
|
|
||||||
[iOS (10, 0), NoMac]
|
[NoMac]
|
||||||
[Field ("AVVideoColorPrimaries_P3_D65")]
|
[Field ("AVVideoColorPrimaries_P3_D65")]
|
||||||
NSString P3_D65 { get; }
|
NSString P3_D65 { get; }
|
||||||
}
|
}
|
||||||
|
@ -9474,9 +9475,15 @@ namespace XamCore.AVFoundation {
|
||||||
[NoWatch]
|
[NoWatch]
|
||||||
[StrongDictionary ("AVPlayerItemVideoOutputSettingsKeys")]
|
[StrongDictionary ("AVPlayerItemVideoOutputSettingsKeys")]
|
||||||
interface AVPlayerItemVideoOutputSettings {
|
interface AVPlayerItemVideoOutputSettings {
|
||||||
|
|
||||||
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
AVColorProperties ColorProperties { get; set; }
|
AVColorProperties ColorProperties { get; set; }
|
||||||
|
|
||||||
AVCompressionProperties CompressionProperties { get; set; }
|
AVCompressionProperties CompressionProperties { get; set; }
|
||||||
#if !MONOMAC
|
#if !MONOMAC
|
||||||
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
bool AllowWideColor { get; set; }
|
bool AllowWideColor { get; set; }
|
||||||
#endif
|
#endif
|
||||||
NSString Codec { get; set; }
|
NSString Codec { get; set; }
|
||||||
|
@ -9490,6 +9497,7 @@ namespace XamCore.AVFoundation {
|
||||||
[Internal]
|
[Internal]
|
||||||
interface AVPlayerItemVideoOutputSettingsKeys {
|
interface AVPlayerItemVideoOutputSettingsKeys {
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("AVVideoColorPropertiesKey")]
|
[Field ("AVVideoColorPropertiesKey")]
|
||||||
NSString ColorPropertiesKey { get; }
|
NSString ColorPropertiesKey { get; }
|
||||||
|
|
||||||
|
@ -9497,6 +9505,7 @@ namespace XamCore.AVFoundation {
|
||||||
NSString CompressionPropertiesKey { get; }
|
NSString CompressionPropertiesKey { get; }
|
||||||
|
|
||||||
[iOS (10,0), NoMac]
|
[iOS (10,0), NoMac]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("AVVideoAllowWideColorKey")]
|
[Field ("AVVideoAllowWideColorKey")]
|
||||||
NSString AllowWideColorKey { get; }
|
NSString AllowWideColorKey { get; }
|
||||||
|
|
||||||
|
@ -10161,6 +10170,7 @@ namespace XamCore.AVFoundation {
|
||||||
AVSpeechUtterance FromString (string speechString);
|
AVSpeechUtterance FromString (string speechString);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("speechUtteranceWithAttributedString:")]
|
[Export ("speechUtteranceWithAttributedString:")]
|
||||||
AVSpeechUtterance FromString (NSAttributedString speechString);
|
AVSpeechUtterance FromString (NSAttributedString speechString);
|
||||||
|
@ -10169,6 +10179,7 @@ namespace XamCore.AVFoundation {
|
||||||
IntPtr Constructor (string speechString);
|
IntPtr Constructor (string speechString);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithAttributedString:")]
|
[Export ("initWithAttributedString:")]
|
||||||
IntPtr Constructor (NSAttributedString speechString);
|
IntPtr Constructor (NSAttributedString speechString);
|
||||||
|
|
||||||
|
@ -10180,6 +10191,7 @@ namespace XamCore.AVFoundation {
|
||||||
string SpeechString { get; }
|
string SpeechString { get; }
|
||||||
|
|
||||||
[iOS (10, 0)]
|
[iOS (10, 0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("attributedSpeechString")]
|
[Export ("attributedSpeechString")]
|
||||||
NSAttributedString AttributedSpeechString { get; }
|
NSAttributedString AttributedSpeechString { get; }
|
||||||
|
|
||||||
|
@ -10239,6 +10251,7 @@ namespace XamCore.AVFoundation {
|
||||||
bool ContinueSpeaking ();
|
bool ContinueSpeaking ();
|
||||||
|
|
||||||
[iOS (10, 0)]
|
[iOS (10, 0)]
|
||||||
|
[TV (10,0)]
|
||||||
[NullAllowed, Export ("outputChannels", ArgumentSemantic.Retain)]
|
[NullAllowed, Export ("outputChannels", ArgumentSemantic.Retain)]
|
||||||
AVAudioSessionChannelDescription[] OutputChannels { get; set; }
|
AVAudioSessionChannelDescription[] OutputChannels { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -692,6 +692,7 @@ namespace XamCore.CoreBluetooth {
|
||||||
|
|
||||||
#if !MONOMAC // Filled radar://27160443 – Trello: https://trello.com/c/oqB27JA6
|
#if !MONOMAC // Filled radar://27160443 – Trello: https://trello.com/c/oqB27JA6
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("CBUUIDCharacteristicValidRangeString")]
|
[Field ("CBUUIDCharacteristicValidRangeString")]
|
||||||
#else
|
#else
|
||||||
[Field ("CBUUIDValidRangeString")]
|
[Field ("CBUUIDValidRangeString")]
|
||||||
|
|
|
@ -131,31 +131,37 @@ namespace XamCore.CoreGraphics {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceExtendedSRGB")]
|
[Field ("kCGColorSpaceExtendedSRGB")]
|
||||||
NSString ExtendedSrgb { get; }
|
NSString ExtendedSrgb { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceLinearSRGB")]
|
[Field ("kCGColorSpaceLinearSRGB")]
|
||||||
NSString LinearSrgb { get; }
|
NSString LinearSrgb { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceExtendedLinearSRGB")]
|
[Field ("kCGColorSpaceExtendedLinearSRGB")]
|
||||||
NSString ExtendedLinearSrgb { get; }
|
NSString ExtendedLinearSrgb { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceExtendedGray")]
|
[Field ("kCGColorSpaceExtendedGray")]
|
||||||
NSString ExtendedGray { get; }
|
NSString ExtendedGray { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceLinearGray")]
|
[Field ("kCGColorSpaceLinearGray")]
|
||||||
NSString LinearGray { get; }
|
NSString LinearGray { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGColorSpaceExtendedLinearGray")]
|
[Field ("kCGColorSpaceExtendedLinearGray")]
|
||||||
NSString ExtendedLinearGray { get; }
|
NSString ExtendedLinearGray { get; }
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,7 @@ namespace XamCore.CoreImage {
|
||||||
CIColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha);
|
CIColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("colorWithRed:green:blue:alpha:colorSpace:")]
|
[Export ("colorWithRed:green:blue:alpha:colorSpace:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
|
@ -67,6 +68,7 @@ namespace XamCore.CoreImage {
|
||||||
CIColor FromRgb (nfloat red, nfloat green, nfloat blue);
|
CIColor FromRgb (nfloat red, nfloat green, nfloat blue);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("colorWithRed:green:blue:colorSpace:")]
|
[Export ("colorWithRed:green:blue:colorSpace:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
|
@ -85,6 +87,7 @@ namespace XamCore.CoreImage {
|
||||||
IntPtr Constructor (nfloat red, nfloat green, nfloat blue);
|
IntPtr Constructor (nfloat red, nfloat green, nfloat blue);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithRed:green:blue:colorSpace:")]
|
[Export ("initWithRed:green:blue:colorSpace:")]
|
||||||
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, CGColorSpace colorSpace);
|
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, CGColorSpace colorSpace);
|
||||||
|
|
||||||
|
@ -93,6 +96,7 @@ namespace XamCore.CoreImage {
|
||||||
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha);
|
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithRed:green:blue:alpha:colorSpace:")]
|
[Export ("initWithRed:green:blue:alpha:colorSpace:")]
|
||||||
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha, CGColorSpace colorSpace);
|
IntPtr Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha, CGColorSpace colorSpace);
|
||||||
|
|
||||||
|
@ -122,51 +126,61 @@ namespace XamCore.CoreImage {
|
||||||
// conflicting names means we have to keep the *Color suffix on them
|
// conflicting names means we have to keep the *Color suffix on them
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("blackColor")]
|
[Export ("blackColor")]
|
||||||
CIColor BlackColor { get; }
|
CIColor BlackColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("whiteColor")]
|
[Export ("whiteColor")]
|
||||||
CIColor WhiteColor { get; }
|
CIColor WhiteColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("grayColor")]
|
[Export ("grayColor")]
|
||||||
CIColor GrayColor { get; }
|
CIColor GrayColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("redColor")]
|
[Export ("redColor")]
|
||||||
CIColor RedColor { get; }
|
CIColor RedColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("greenColor")]
|
[Export ("greenColor")]
|
||||||
CIColor GreenColor { get; }
|
CIColor GreenColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("blueColor")]
|
[Export ("blueColor")]
|
||||||
CIColor BlueColor { get; }
|
CIColor BlueColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("cyanColor")]
|
[Export ("cyanColor")]
|
||||||
CIColor CyanColor { get; }
|
CIColor CyanColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("magentaColor")]
|
[Export ("magentaColor")]
|
||||||
CIColor MagentaColor { get; }
|
CIColor MagentaColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("yellowColor")]
|
[Export ("yellowColor")]
|
||||||
CIColor YellowColor { get; }
|
CIColor YellowColor { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("clearColor")]
|
[Export ("clearColor")]
|
||||||
CIColor ClearColor { get; }
|
CIColor ClearColor { get; }
|
||||||
|
@ -274,6 +288,7 @@ namespace XamCore.CoreImage {
|
||||||
CGImage CreateCGImage (CIImage image, CGRect fromRect, int /* CIFormat = int */ ciImageFormat, [NullAllowed] CGColorSpace colorSpace);
|
CGImage CreateCGImage (CIImage image, CGRect fromRect, int /* CIFormat = int */ ciImageFormat, [NullAllowed] CGColorSpace colorSpace);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("createCGImage:fromRect:format:colorSpace:deferred:")]
|
[Export ("createCGImage:fromRect:format:colorSpace:deferred:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
CGImage CreateCGImage (CIImage image, CGRect fromRect, CIFormat format, [NullAllowed] CGColorSpace colorSpace, bool deferred);
|
CGImage CreateCGImage (CIImage image, CGRect fromRect, CIFormat format, [NullAllowed] CGColorSpace colorSpace, bool deferred);
|
||||||
|
@ -295,6 +310,7 @@ namespace XamCore.CoreImage {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("clearCaches")]
|
[Export ("clearCaches")]
|
||||||
void ClearCaches ();
|
void ClearCaches ();
|
||||||
|
|
||||||
|
@ -345,6 +361,7 @@ namespace XamCore.CoreImage {
|
||||||
CGColorSpace WorkingColorSpace { get; }
|
CGColorSpace WorkingColorSpace { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("workingFormat")]
|
[Export ("workingFormat")]
|
||||||
CIFormat WorkingFormat { get; }
|
CIFormat WorkingFormat { get; }
|
||||||
|
|
||||||
|
@ -354,6 +371,7 @@ namespace XamCore.CoreImage {
|
||||||
NSString OutputPremultiplied { get; }
|
NSString OutputPremultiplied { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Internal]
|
[Internal]
|
||||||
[Field ("kCIContextCacheIntermediates", "+CoreImage")]
|
[Field ("kCIContextCacheIntermediates", "+CoreImage")]
|
||||||
NSString CacheIntermediates { get; }
|
NSString CacheIntermediates { get; }
|
||||||
|
@ -401,7 +419,7 @@ namespace XamCore.CoreImage {
|
||||||
[Export ("name")]
|
[Export ("name")]
|
||||||
string Name {
|
string Name {
|
||||||
get;
|
get;
|
||||||
[iOS (10,0)]
|
[iOS (10,0)][TV (10,0)]
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -483,36 +501,43 @@ namespace XamCore.CoreImage {
|
||||||
// CIRAWFilter (CIFilter)
|
// CIRAWFilter (CIFilter)
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("filterWithImageURL:options:")]
|
[Export ("filterWithImageURL:options:")]
|
||||||
CIFilter CreateRawFilter (NSUrl url, NSDictionary options);
|
CIFilter CreateRawFilter (NSUrl url, NSDictionary options);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Wrap ("CreateRawFilter (url, options?.Dictionary)")]
|
[Wrap ("CreateRawFilter (url, options?.Dictionary)")]
|
||||||
CIFilter CreateRawFilter (NSUrl url, CIRawFilterOptions options);
|
CIFilter CreateRawFilter (NSUrl url, CIRawFilterOptions options);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("filterWithImageData:options:")]
|
[Export ("filterWithImageData:options:")]
|
||||||
CIFilter CreateRawFilter (NSData data, NSDictionary options);
|
CIFilter CreateRawFilter (NSData data, NSDictionary options);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Wrap ("CreateRawFilter (data, options?.Dictionary)")]
|
[Wrap ("CreateRawFilter (data, options?.Dictionary)")]
|
||||||
CIFilter CreateRawFilter (NSData data, CIRawFilterOptions options);
|
CIFilter CreateRawFilter (NSData data, CIRawFilterOptions options);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("filterWithCVPixelBuffer:properties:options:")]
|
[Export ("filterWithCVPixelBuffer:properties:options:")]
|
||||||
CIFilter CreateRawFilter (CVPixelBuffer pixelBuffer, NSDictionary properties, NSDictionary options);
|
CIFilter CreateRawFilter (CVPixelBuffer pixelBuffer, NSDictionary properties, NSDictionary options);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Wrap ("CreateRawFilter (pixelBuffer, properties, options?.Dictionary)")]
|
[Wrap ("CreateRawFilter (pixelBuffer, properties, options?.Dictionary)")]
|
||||||
CIFilter CreateRawFilter (CVPixelBuffer pixelBuffer, NSDictionary properties, CIRawFilterOptions options);
|
CIFilter CreateRawFilter (CVPixelBuffer pixelBuffer, NSDictionary properties, CIRawFilterOptions options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Internal]
|
[Internal]
|
||||||
interface CIRawFilterKeys {
|
interface CIRawFilterKeys {
|
||||||
|
@ -625,6 +650,7 @@ namespace XamCore.CoreImage {
|
||||||
NSString ActiveKeysKey { get; }
|
NSString ActiveKeysKey { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TV (10,0)]
|
||||||
[StrongDictionary ("CIRawFilterKeys")]
|
[StrongDictionary ("CIRawFilterKeys")]
|
||||||
public interface CIRawFilterOptions {
|
public interface CIRawFilterOptions {
|
||||||
|
|
||||||
|
@ -1572,44 +1598,54 @@ namespace XamCore.CoreImage {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByClampingToRect:")]
|
[Export ("imageByClampingToRect:")]
|
||||||
CIImage CreateByClamping (CGRect rect);
|
CIImage CreateByClamping (CGRect rect);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByColorMatchingColorSpaceToWorkingSpace:")]
|
[Export ("imageByColorMatchingColorSpaceToWorkingSpace:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
CIImage CreateByColorMatchingColorSpaceToWorkingSpace (CGColorSpace colorSpace);
|
CIImage CreateByColorMatchingColorSpaceToWorkingSpace (CGColorSpace colorSpace);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByColorMatchingWorkingSpaceToColorSpace:")]
|
[Export ("imageByColorMatchingWorkingSpaceToColorSpace:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
CIImage CreateByColorMatchingWorkingSpaceToColorSpace (CGColorSpace colorSpace);
|
CIImage CreateByColorMatchingWorkingSpaceToColorSpace (CGColorSpace colorSpace);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByPremultiplyingAlpha")]
|
[Export ("imageByPremultiplyingAlpha")]
|
||||||
CIImage CreateByPremultiplyingAlpha ();
|
CIImage CreateByPremultiplyingAlpha ();
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByUnpremultiplyingAlpha")]
|
[Export ("imageByUnpremultiplyingAlpha")]
|
||||||
CIImage CreateByUnpremultiplyingAlpha ();
|
CIImage CreateByUnpremultiplyingAlpha ();
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageBySettingAlphaOneInExtent:")]
|
[Export ("imageBySettingAlphaOneInExtent:")]
|
||||||
CIImage CreateBySettingAlphaOne (CGRect extent);
|
CIImage CreateBySettingAlphaOne (CGRect extent);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageByApplyingGaussianBlurWithSigma:")]
|
[Export ("imageByApplyingGaussianBlurWithSigma:")]
|
||||||
CIImage CreateByApplyingGaussianBlur (double sigma);
|
CIImage CreateByApplyingGaussianBlur (double sigma);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("imageBySettingProperties:")]
|
[Export ("imageBySettingProperties:")]
|
||||||
CIImage CreateBySettingProperties (NSDictionary properties);
|
CIImage CreateBySettingProperties (NSDictionary properties);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[NullAllowed, Export ("pixelBuffer")]
|
[NullAllowed, Export ("pixelBuffer")]
|
||||||
CVPixelBuffer PixelBuffer { get; }
|
CVPixelBuffer PixelBuffer { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[NullAllowed, Export ("CGImage")]
|
[NullAllowed, Export ("CGImage")]
|
||||||
CGImage CGImage { get; }
|
CGImage CGImage { get; }
|
||||||
}
|
}
|
||||||
|
@ -2029,6 +2065,7 @@ namespace XamCore.CoreImage {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("CIDetectorMaxFeatureCount"), Internal]
|
[Field ("CIDetectorMaxFeatureCount"), Internal]
|
||||||
NSString MaxFeatureCount { get; }
|
NSString MaxFeatureCount { get; }
|
||||||
|
|
||||||
|
@ -2227,6 +2264,7 @@ namespace XamCore.CoreImage {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (NSObject))]
|
[BaseType (typeof (NSObject))]
|
||||||
interface CIImageProcessorKernel {
|
interface CIImageProcessorKernel {
|
||||||
[Static]
|
[Static]
|
||||||
|
@ -4339,6 +4377,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CIClamp {
|
interface CIClamp {
|
||||||
|
|
||||||
|
@ -4349,6 +4388,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CIHueSaturationValueGradient {
|
interface CIHueSaturationValueGradient {
|
||||||
|
|
||||||
|
@ -4371,6 +4411,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CINinePartStretched {
|
interface CINinePartStretched {
|
||||||
|
|
||||||
|
@ -4387,6 +4428,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CINinePartTiled {
|
interface CINinePartTiled {
|
||||||
|
|
||||||
|
@ -4406,6 +4448,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)] // filter says 10.11 but it fails when I run it on El Capitan
|
[Mac (10,12)] // filter says 10.11 but it fails when I run it on El Capitan
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CIThermal {
|
interface CIThermal {
|
||||||
}
|
}
|
||||||
|
@ -4413,6 +4456,7 @@ namespace XamCore.CoreImage {
|
||||||
[CoreImageFilter]
|
[CoreImageFilter]
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)] // filter says 10.11 but it fails when I run it on El Capitan
|
[Mac (10,12)] // filter says 10.11 but it fails when I run it on El Capitan
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof (CIFilter))]
|
[BaseType (typeof (CIFilter))]
|
||||||
interface CIXRay {
|
interface CIXRay {
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,10 +163,12 @@ namespace XamCore.CoreVideo {
|
||||||
NSString TransferFunction_UseGamma { get; }
|
NSString TransferFunction_UseGamma { get; }
|
||||||
|
|
||||||
[iOS (9,0), Mac (10,11)]
|
[iOS (9,0), Mac (10,11)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCVImageBufferTransferFunction_ITU_R_2020")]
|
[Field ("kCVImageBufferTransferFunction_ITU_R_2020")]
|
||||||
NSString TransferFunction_ITU_R_2020 { get; }
|
NSString TransferFunction_ITU_R_2020 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCVImageBufferTransferFunction_SMPTE_ST_428_1")]
|
[Field ("kCVImageBufferTransferFunction_SMPTE_ST_428_1")]
|
||||||
NSString TransferFunction_SMPTE_ST_428_1 { get; }
|
NSString TransferFunction_SMPTE_ST_428_1 { get; }
|
||||||
|
|
||||||
|
|
|
@ -431,6 +431,7 @@ namespace XamCore.GameKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
interface GKBasePlayer
|
interface GKBasePlayer
|
||||||
{
|
{
|
||||||
|
@ -443,6 +444,7 @@ namespace XamCore.GameKit {
|
||||||
|
|
||||||
[NoWatch]
|
[NoWatch]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(GKBasePlayer))]
|
[BaseType (typeof(GKBasePlayer))]
|
||||||
interface GKCloudPlayer
|
interface GKCloudPlayer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6590,6 +6590,8 @@ public partial class Generator : IMemberGatherer {
|
||||||
|
|
||||||
string shouldOverrideDelegateString = isProtocolizedEventBacked ? "" : "override ";
|
string shouldOverrideDelegateString = isProtocolizedEventBacked ? "" : "override ";
|
||||||
|
|
||||||
|
string previous_miname = null;
|
||||||
|
int miname_count = 0;
|
||||||
foreach (var mi in dtype.GatherMethods ().OrderBy (m => m.Name)) {
|
foreach (var mi in dtype.GatherMethods ().OrderBy (m => m.Name)) {
|
||||||
if (ShouldSkipEventGeneration (mi))
|
if (ShouldSkipEventGeneration (mi))
|
||||||
continue;
|
continue;
|
||||||
|
@ -6605,13 +6607,21 @@ public partial class Generator : IMemberGatherer {
|
||||||
|
|
||||||
var sender = pars.Length == 0 ? "this" : pars [0].Name;
|
var sender = pars.Length == 0 ? "this" : pars [0].Name;
|
||||||
|
|
||||||
|
var miname = PascalCase (mi.Name);
|
||||||
|
if (miname == previous_miname) {
|
||||||
|
// overloads, add a numbered suffix (it's internal)
|
||||||
|
previous_miname = miname;
|
||||||
|
miname += (++miname_count).ToString ();
|
||||||
|
} else
|
||||||
|
previous_miname = miname;
|
||||||
|
|
||||||
if (mi.ReturnType == typeof (void)){
|
if (mi.ReturnType == typeof (void)){
|
||||||
if (bta.Singleton || mi.GetParameters ().Length == 1)
|
if (bta.Singleton || mi.GetParameters ().Length == 1)
|
||||||
print ("internal EventHandler {0};", PascalCase (mi.Name));
|
print ("internal EventHandler {0};", miname);
|
||||||
else
|
else
|
||||||
print ("internal EventHandler<{0}> {1};", GetEventArgName (mi), PascalCase (mi.Name));
|
print ("internal EventHandler<{0}> {1};", GetEventArgName (mi), miname);
|
||||||
} else
|
} else
|
||||||
print ("internal {0} {1};", GetDelegateName (mi), PascalCase (mi.Name));
|
print ("internal {0} {1};", GetDelegateName (mi), miname);
|
||||||
|
|
||||||
print ("[Preserve (Conditional = true)]");
|
print ("[Preserve (Conditional = true)]");
|
||||||
if (isProtocolizedEventBacked)
|
if (isProtocolizedEventBacked)
|
||||||
|
@ -6640,7 +6650,7 @@ public partial class Generator : IMemberGatherer {
|
||||||
if (bta.Singleton || mi.GetParameters ().Length == 1)
|
if (bta.Singleton || mi.GetParameters ().Length == 1)
|
||||||
print ("EventHandler handler = {0};", PascalCase (mi.Name));
|
print ("EventHandler handler = {0};", PascalCase (mi.Name));
|
||||||
else
|
else
|
||||||
print ("EventHandler<{0}> handler = {1};", GetEventArgName (mi), PascalCase (mi.Name));
|
print ("EventHandler<{0}> handler = {1};", GetEventArgName (mi), miname);
|
||||||
|
|
||||||
print ("if (handler != null){");
|
print ("if (handler != null){");
|
||||||
indent++;
|
indent++;
|
||||||
|
|
|
@ -403,14 +403,17 @@ namespace XamCore.GLKit {
|
||||||
GLKTextureTarget Target { get; }
|
GLKTextureTarget Target { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("mimapLevelCount")]
|
[Export ("mimapLevelCount")]
|
||||||
uint MimapLevelCount { get; }
|
uint MimapLevelCount { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("arrayLength")]
|
[Export ("arrayLength")]
|
||||||
uint ArrayLength { get; }
|
uint ArrayLength { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("depth")]
|
[Export ("depth")]
|
||||||
uint Depth { get; }
|
uint Depth { get; }
|
||||||
}
|
}
|
||||||
|
@ -450,6 +453,7 @@ namespace XamCore.GLKit {
|
||||||
GLKTextureInfo CubeMapFromUrl (NSUrl url, [NullAllowed] NSDictionary textureOperations, out NSError error);
|
GLKTextureInfo CubeMapFromUrl (NSUrl url, [NullAllowed] NSDictionary textureOperations, out NSError error);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("textureWithName:scaleFactor:bundle:options:error:")]
|
[Export ("textureWithName:scaleFactor:bundle:options:error:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
|
@ -489,6 +493,7 @@ namespace XamCore.GLKit {
|
||||||
void BeginLoadCubeMap (NSUrl filePath, [NullAllowed] NSDictionary textureOperations, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback onComplete);
|
void BeginLoadCubeMap (NSUrl filePath, [NullAllowed] NSDictionary textureOperations, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback onComplete);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64: true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("textureWithName:scaleFactor:bundle:options:queue:completionHandler:")]
|
[Export ("textureWithName:scaleFactor:bundle:options:queue:completionHandler:")]
|
||||||
[Async]
|
[Async]
|
||||||
void BeginTextureLoad (string name, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary<NSString, NSNumber> options, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback block);
|
void BeginTextureLoad (string name, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary<NSString, NSNumber> options, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback block);
|
||||||
|
|
|
@ -608,82 +608,121 @@ namespace XamCore.ImageIO {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGBlackLevel")]
|
[Field ("kCGImagePropertyDNGBlackLevel")]
|
||||||
NSString DNGBlackLevel { get; }
|
NSString DNGBlackLevel { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGWhiteLevel")]
|
[Field ("kCGImagePropertyDNGWhiteLevel")]
|
||||||
NSString DNGWhiteLevel { get; }
|
NSString DNGWhiteLevel { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGCalibrationIlluminant1")]
|
[Field ("kCGImagePropertyDNGCalibrationIlluminant1")]
|
||||||
NSString DNGCalibrationIlluminant1 { get; }
|
NSString DNGCalibrationIlluminant1 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGCalibrationIlluminant2")]
|
[Field ("kCGImagePropertyDNGCalibrationIlluminant2")]
|
||||||
NSString DNGCalibrationIlluminant2 { get; }
|
NSString DNGCalibrationIlluminant2 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGColorMatrix1")]
|
[Field ("kCGImagePropertyDNGColorMatrix1")]
|
||||||
NSString DNGColorMatrix1 { get; }
|
NSString DNGColorMatrix1 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGColorMatrix2")]
|
[Field ("kCGImagePropertyDNGColorMatrix2")]
|
||||||
NSString DNGColorMatrix2 { get; }
|
NSString DNGColorMatrix2 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGCameraCalibration1")]
|
[Field ("kCGImagePropertyDNGCameraCalibration1")]
|
||||||
NSString DNGCameraCalibration1 { get; }
|
NSString DNGCameraCalibration1 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGCameraCalibration2")]
|
[Field ("kCGImagePropertyDNGCameraCalibration2")]
|
||||||
NSString DNGCameraCalibration2 { get; }
|
NSString DNGCameraCalibration2 { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGAsShotNeutral")]
|
[Field ("kCGImagePropertyDNGAsShotNeutral")]
|
||||||
NSString DNGAsShotNeutral { get; }
|
NSString DNGAsShotNeutral { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGAsShotWhiteXY")]
|
[Field ("kCGImagePropertyDNGAsShotWhiteXY")]
|
||||||
NSString DNGAsShotWhiteXY { get; }
|
NSString DNGAsShotWhiteXY { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGBaselineExposure")]
|
[Field ("kCGImagePropertyDNGBaselineExposure")]
|
||||||
NSString DNGBaselineExposure { get; }
|
NSString DNGBaselineExposure { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGBaselineNoise")]
|
[Field ("kCGImagePropertyDNGBaselineNoise")]
|
||||||
NSString DNGBaselineNoise { get; }
|
NSString DNGBaselineNoise { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGBaselineSharpness")]
|
[Field ("kCGImagePropertyDNGBaselineSharpness")]
|
||||||
NSString DNGBaselineSharpness { get; }
|
NSString DNGBaselineSharpness { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGPrivateData")]
|
[Field ("kCGImagePropertyDNGPrivateData")]
|
||||||
NSString DNGPrivateData { get; }
|
NSString DNGPrivateData { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGCameraCalibrationSignature")]
|
[Field ("kCGImagePropertyDNGCameraCalibrationSignature")]
|
||||||
NSString DNGCameraCalibrationSignature { get; }
|
NSString DNGCameraCalibrationSignature { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGProfileCalibrationSignature")]
|
[Field ("kCGImagePropertyDNGProfileCalibrationSignature")]
|
||||||
NSString DNGProfileCalibrationSignature { get; }
|
NSString DNGProfileCalibrationSignature { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGNoiseProfile")]
|
[Field ("kCGImagePropertyDNGNoiseProfile")]
|
||||||
NSString DNGNoiseProfile { get; }
|
NSString DNGNoiseProfile { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGWarpRectilinear")]
|
[Field ("kCGImagePropertyDNGWarpRectilinear")]
|
||||||
NSString DNGWarpRectilinear { get; }
|
NSString DNGWarpRectilinear { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGWarpFisheye")]
|
[Field ("kCGImagePropertyDNGWarpFisheye")]
|
||||||
NSString DNGWarpFisheye { get; }
|
NSString DNGWarpFisheye { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (12,0)]
|
[iOS (10,0)][Mac (12,0)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kCGImagePropertyDNGFixVignetteRadial")]
|
[Field ("kCGImagePropertyDNGFixVignetteRadial")]
|
||||||
NSString DNGFixVignetteRadial { get; }
|
NSString DNGFixVignetteRadial { get; }
|
||||||
|
|
||||||
|
@ -957,6 +996,7 @@ namespace XamCore.ImageIO {
|
||||||
IntPtr kShouldExcludeGPS { get; }
|
IntPtr kShouldExcludeGPS { get; }
|
||||||
|
|
||||||
[iOS (9,3)][Mac (10,12)]
|
[iOS (9,3)][Mac (10,12)]
|
||||||
|
[TV (9,2)]
|
||||||
[Internal][Field ("kCGImageDestinationOptimizeColorForSharing")]
|
[Internal][Field ("kCGImageDestinationOptimizeColorForSharing")]
|
||||||
IntPtr kOptimizeColorForSharing { get; }
|
IntPtr kOptimizeColorForSharing { get; }
|
||||||
}
|
}
|
||||||
|
@ -1049,6 +1089,7 @@ namespace XamCore.ImageIO {
|
||||||
NSString EmbedThumbnail { get; }
|
NSString EmbedThumbnail { get; }
|
||||||
|
|
||||||
[iOS (9,3)][Mac (10,12)]
|
[iOS (9,3)][Mac (10,12)]
|
||||||
|
[TV (9,2)]
|
||||||
[Field ("kCGImageDestinationOptimizeColorForSharing")]
|
[Field ("kCGImageDestinationOptimizeColorForSharing")]
|
||||||
NSString OptimizeColorForSharing { get; }
|
NSString OptimizeColorForSharing { get; }
|
||||||
|
|
||||||
|
|
|
@ -249,6 +249,7 @@ namespace XamCore.MediaPlayer {
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
public interface MPMediaItemArtwork {
|
public interface MPMediaItemArtwork {
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithBoundsSize:requestHandler:")]
|
[Export ("initWithBoundsSize:requestHandler:")]
|
||||||
[DesignatedInitializer]
|
[DesignatedInitializer]
|
||||||
IntPtr Constructor (CGSize boundsSize, Func<CGSize, UIImage> requestHandler);
|
IntPtr Constructor (CGSize boundsSize, Func<CGSize, UIImage> requestHandler);
|
||||||
|
@ -1290,26 +1291,32 @@ namespace XamCore.MediaPlayer {
|
||||||
NSString PropertyCurrentLanguageOptions { get; }
|
NSString PropertyCurrentLanguageOptions { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoCollectionIdentifier")]
|
[Field ("MPNowPlayingInfoCollectionIdentifier")]
|
||||||
NSString PropertyCollectionIdentifier { get; }
|
NSString PropertyCollectionIdentifier { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoPropertyExternalContentIdentifier")]
|
[Field ("MPNowPlayingInfoPropertyExternalContentIdentifier")]
|
||||||
NSString PropertyExternalContentIdentifier { get; }
|
NSString PropertyExternalContentIdentifier { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoPropertyExternalUserProfileIdentifier")]
|
[Field ("MPNowPlayingInfoPropertyExternalUserProfileIdentifier")]
|
||||||
NSString PropertyExternalUserProfileIdentifier { get; }
|
NSString PropertyExternalUserProfileIdentifier { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoPropertyPlaybackProgress")]
|
[Field ("MPNowPlayingInfoPropertyPlaybackProgress")]
|
||||||
NSString PropertyPlaybackProgress { get; }
|
NSString PropertyPlaybackProgress { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoPropertyMediaType")]
|
[Field ("MPNowPlayingInfoPropertyMediaType")]
|
||||||
NSString PropertyMediaType { get; }
|
NSString PropertyMediaType { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MPNowPlayingInfoPropertyIsLiveStream")]
|
[Field ("MPNowPlayingInfoPropertyIsLiveStream")]
|
||||||
NSString PropertyIsLiveStream { get; }
|
NSString PropertyIsLiveStream { get; }
|
||||||
}
|
}
|
||||||
|
@ -1709,6 +1716,7 @@ namespace XamCore.MediaPlayer {
|
||||||
MPNowPlayingInfoLanguageOption LanguageOption { get; }
|
MPNowPlayingInfoLanguageOption LanguageOption { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("setting")]
|
[Export ("setting")]
|
||||||
MPChangeLanguageOptionSetting Setting { get; }
|
MPChangeLanguageOptionSetting Setting { get; }
|
||||||
}
|
}
|
||||||
|
@ -1722,6 +1730,7 @@ namespace XamCore.MediaPlayer {
|
||||||
MPShuffleType ShuffleType { get; }
|
MPShuffleType ShuffleType { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("preservesShuffleMode")]
|
[Export ("preservesShuffleMode")]
|
||||||
bool PreservesShuffleMode { get; }
|
bool PreservesShuffleMode { get; }
|
||||||
}
|
}
|
||||||
|
@ -1735,6 +1744,7 @@ namespace XamCore.MediaPlayer {
|
||||||
MPRepeatType RepeatType { get; }
|
MPRepeatType RepeatType { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("preservesRepeatMode")]
|
[Export ("preservesRepeatMode")]
|
||||||
bool PreservesRepeatMode { get; }
|
bool PreservesRepeatMode { get; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1812,6 +1812,7 @@ namespace XamCore.Metal {
|
||||||
MTLRenderPassDescriptor CreateRenderPassDescriptor ();
|
MTLRenderPassDescriptor CreateRenderPassDescriptor ();
|
||||||
|
|
||||||
[NoiOS, Mac (10,11)]
|
[NoiOS, Mac (10,11)]
|
||||||
|
[NoTV]
|
||||||
[Export ("renderTargetArrayLength")]
|
[Export ("renderTargetArrayLength")]
|
||||||
nuint RenderTargetArrayLength { get; set; }
|
nuint RenderTargetArrayLength { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,6 +141,7 @@ namespace XamCore.MetalKit {
|
||||||
NSString AllocateMipmapsKey { get; }
|
NSString AllocateMipmapsKey { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MTKTextureLoaderOptionGenerateMipmaps")]
|
[Field ("MTKTextureLoaderOptionGenerateMipmaps")]
|
||||||
NSString GenerateMipmapsKey { get; }
|
NSString GenerateMipmapsKey { get; }
|
||||||
|
|
||||||
|
@ -154,25 +155,30 @@ namespace XamCore.MetalKit {
|
||||||
NSString TextureCpuCacheModeKey { get; }
|
NSString TextureCpuCacheModeKey { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MTKTextureLoaderOptionTextureStorageMode")]
|
[Field ("MTKTextureLoaderOptionTextureStorageMode")]
|
||||||
NSString TextureStorageModeKey { get; }
|
NSString TextureStorageModeKey { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MTKTextureLoaderOptionCubeLayout")]
|
[Field ("MTKTextureLoaderOptionCubeLayout")]
|
||||||
NSString CubeLayoutKey { get; }
|
NSString CubeLayoutKey { get; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("MTKTextureLoaderOptionOrigin")]
|
[Field ("MTKTextureLoaderOptionOrigin")]
|
||||||
NSString OriginKey { get; }
|
NSString OriginKey { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
enum MTKTextureLoaderCubeLayout {
|
enum MTKTextureLoaderCubeLayout {
|
||||||
[Field ("MTKTextureLoaderCubeLayoutVertical")]
|
[Field ("MTKTextureLoaderCubeLayoutVertical")]
|
||||||
Vertical,
|
Vertical,
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
enum MTKTextureLoaderOrigin {
|
enum MTKTextureLoaderOrigin {
|
||||||
[Field ("MTKTextureLoaderOriginTopLeft")]
|
[Field ("MTKTextureLoaderOriginTopLeft")]
|
||||||
TopLeft,
|
TopLeft,
|
||||||
|
@ -186,6 +192,7 @@ namespace XamCore.MetalKit {
|
||||||
interface MTKTextureLoaderOptions {
|
interface MTKTextureLoaderOptions {
|
||||||
bool AllocateMipmaps { get; set; }
|
bool AllocateMipmaps { get; set; }
|
||||||
|
|
||||||
|
[TV (10,0)]
|
||||||
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac (10,12, onlyOn64 : true)]
|
||||||
bool GenerateMipmaps { get; }
|
bool GenerateMipmaps { get; }
|
||||||
|
|
||||||
|
|
|
@ -576,6 +576,7 @@ namespace XamCore.MobileCoreServices {
|
||||||
|
|
||||||
[NoWatch]
|
[NoWatch]
|
||||||
[iOS (10,0)][Mac(10,12, onlyOn64 : true)]
|
[iOS (10,0)][Mac(10,12, onlyOn64 : true)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kUTTypeUniversalSceneDescription", "ModelIO")]
|
[Field ("kUTTypeUniversalSceneDescription", "ModelIO")]
|
||||||
NSString UniversalSceneDescription { get; }
|
NSString UniversalSceneDescription { get; }
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@ namespace XamCore.ModelIO {
|
||||||
IntPtr Constructor (NSUrl url, [NullAllowed] MDLVertexDescriptor vertexDescriptor, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
IntPtr Constructor (NSUrl url, [NullAllowed] MDLVertexDescriptor vertexDescriptor, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[NoMac]
|
[NoMac]
|
||||||
[Export ("initWithBufferAllocator:")]
|
[Export ("initWithBufferAllocator:")]
|
||||||
IntPtr Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
IntPtr Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
@ -89,6 +90,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("childObjectsOfClass:")]
|
[Export ("childObjectsOfClass:")]
|
||||||
MDLObject[] GetChildObjects (Class objectClass);
|
MDLObject[] GetChildObjects (Class objectClass);
|
||||||
|
|
||||||
|
@ -135,6 +137,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("masters", ArgumentSemantic.Retain)]
|
[Export ("masters", ArgumentSemantic.Retain)]
|
||||||
IMDLObjectContainerComponent Masters { get; set; }
|
IMDLObjectContainerComponent Masters { get; set; }
|
||||||
|
|
||||||
|
@ -144,6 +147,7 @@ namespace XamCore.ModelIO {
|
||||||
MDLAsset FromScene (SCNScene scene);
|
MDLAsset FromScene (SCNScene scene);
|
||||||
|
|
||||||
[iOS (10, 0), Mac (10, 12)]
|
[iOS (10, 0), Mac (10, 12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("assetWithSCNScene:bufferAllocator:")]
|
[Export ("assetWithSCNScene:bufferAllocator:")]
|
||||||
MDLAsset FromScene (SCNScene scene, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
MDLAsset FromScene (SCNScene scene, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
@ -178,6 +182,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("projection", ArgumentSemantic.Assign)]
|
[Export ("projection", ArgumentSemantic.Assign)]
|
||||||
MDLCameraProjection Projection { get; set; }
|
MDLCameraProjection Projection { get; set; }
|
||||||
|
|
||||||
|
@ -347,6 +352,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("colorSpace")]
|
[Export ("colorSpace")]
|
||||||
// No documentation to confirm but this should be a constant (hence NSString).
|
// No documentation to confirm but this should be a constant (hence NSString).
|
||||||
NSString ColorSpace { get; set; }
|
NSString ColorSpace { get; set; }
|
||||||
|
@ -433,6 +439,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("materialFace", ArgumentSemantic.Assign)]
|
[Export ("materialFace", ArgumentSemantic.Assign)]
|
||||||
MDLMaterialFace MaterialFace { get; set; }
|
MDLMaterialFace MaterialFace { get; set; }
|
||||||
|
|
||||||
|
@ -533,11 +540,13 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("luminance")]
|
[Export ("luminance")]
|
||||||
float Luminance { get; set; }
|
float Luminance { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12)]
|
[iOS (10,0), Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface MDLMaterialPropertyConnection : MDLNamed
|
interface MDLMaterialPropertyConnection : MDLNamed
|
||||||
|
@ -553,6 +562,7 @@ namespace XamCore.ModelIO {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12)]
|
[iOS (10,0), Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface MDLMaterialPropertyNode : MDLNamed
|
interface MDLMaterialPropertyNode : MDLNamed
|
||||||
|
@ -571,6 +581,7 @@ namespace XamCore.ModelIO {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12)]
|
[iOS (10,0), Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(MDLMaterialPropertyNode))]
|
[BaseType (typeof(MDLMaterialPropertyNode))]
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface MDLMaterialPropertyGraph
|
interface MDLMaterialPropertyGraph
|
||||||
|
@ -594,6 +605,7 @@ namespace XamCore.ModelIO {
|
||||||
{
|
{
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithBufferAllocator:")]
|
[Export ("initWithBufferAllocator:")]
|
||||||
IntPtr Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
IntPtr Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
|
||||||
|
@ -610,6 +622,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("vertexAttributeDataForAttributeNamed:asFormat:")]
|
[Export ("vertexAttributeDataForAttributeNamed:asFormat:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
MDLVertexAttributeData GetVertexAttributeData (string attributeName, MDLVertexFormat format);
|
MDLVertexAttributeData GetVertexAttributeData (string attributeName, MDLVertexFormat format);
|
||||||
|
@ -627,6 +640,7 @@ namespace XamCore.ModelIO {
|
||||||
get;
|
get;
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -639,11 +653,13 @@ namespace XamCore.ModelIO {
|
||||||
get;
|
get;
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("allocator", ArgumentSemantic.Retain)]
|
[Export ("allocator", ArgumentSemantic.Retain)]
|
||||||
IMDLMeshBufferAllocator Allocator { get; }
|
IMDLMeshBufferAllocator Allocator { get; }
|
||||||
|
|
||||||
|
@ -654,11 +670,13 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("addAttributeWithName:format:type:data:stride:")]
|
[Export ("addAttributeWithName:format:type:data:stride:")]
|
||||||
void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride);
|
void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("addAttributeWithName:format:type:data:stride:time:")]
|
[Export ("addAttributeWithName:format:type:data:stride:time:")]
|
||||||
void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride, double time);
|
void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride, double time);
|
||||||
|
|
||||||
|
@ -673,6 +691,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("addUnwrappedTextureCoordinatesForAttributeNamed:")]
|
[Export ("addUnwrappedTextureCoordinatesForAttributeNamed:")]
|
||||||
void AddUnwrappedTextureCoordinates (string textureCoordinateAttributeName);
|
void AddUnwrappedTextureCoordinates (string textureCoordinateAttributeName);
|
||||||
|
|
||||||
|
@ -681,16 +700,19 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("replaceAttributeNamed:withData:")]
|
[Export ("replaceAttributeNamed:withData:")]
|
||||||
void ReplaceAttribute (string name, MDLVertexAttributeData newData);
|
void ReplaceAttribute (string name, MDLVertexAttributeData newData);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("updateAttributeNamed:withData:")]
|
[Export ("updateAttributeNamed:withData:")]
|
||||||
void UpdateAttribute (string name, MDLVertexAttributeData newData);
|
void UpdateAttribute (string name, MDLVertexAttributeData newData);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("removeAttributeNamed:")]
|
[Export ("removeAttributeNamed:")]
|
||||||
void RemoveAttribute (string name);
|
void RemoveAttribute (string name);
|
||||||
|
|
||||||
|
@ -784,6 +806,7 @@ namespace XamCore.ModelIO {
|
||||||
MDLMesh FromGeometry (SCNGeometry geometry);
|
MDLMesh FromGeometry (SCNGeometry geometry);
|
||||||
|
|
||||||
[iOS (10, 0), Mac (10, 12)]
|
[iOS (10, 0), Mac (10, 12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("meshWithSCNGeometry:bufferAllocator:")]
|
[Export ("meshWithSCNGeometry:bufferAllocator:")]
|
||||||
MDLMesh FromGeometry (SCNGeometry geometry, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
MDLMesh FromGeometry (SCNGeometry geometry, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
@ -947,16 +970,19 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[NullAllowed, Export ("instance", ArgumentSemantic.Retain)]
|
[NullAllowed, Export ("instance", ArgumentSemantic.Retain)]
|
||||||
MDLObject Instance { get; set; }
|
MDLObject Instance { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("path")]
|
[Export ("path")]
|
||||||
string Path { get; }
|
string Path { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("objectAtPath:")]
|
[Export ("objectAtPath:")]
|
||||||
MDLObject GetObject (string path);
|
MDLObject GetObject (string path);
|
||||||
|
|
||||||
|
@ -968,6 +994,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("hidden")]
|
[Export ("hidden")]
|
||||||
bool Hidden { get; set; }
|
bool Hidden { get; set; }
|
||||||
|
|
||||||
|
@ -984,6 +1011,7 @@ namespace XamCore.ModelIO {
|
||||||
MDLObject FromNode (SCNNode node);
|
MDLObject FromNode (SCNNode node);
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12)]
|
[iOS (10,0), Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("objectWithSCNNode:bufferAllocator:")]
|
[Export ("objectWithSCNNode:bufferAllocator:")]
|
||||||
MDLObject FromNode (SCNNode node, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
MDLObject FromNode (SCNNode node, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
@ -1259,6 +1287,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("indexBufferAsIndexType:")]
|
[Export ("indexBufferAsIndexType:")]
|
||||||
IMDLMeshBuffer GetIndexBuffer (MDLIndexBitDepth indexType);
|
IMDLMeshBuffer GetIndexBuffer (MDLIndexBitDepth indexType);
|
||||||
|
|
||||||
|
@ -1282,6 +1311,7 @@ namespace XamCore.ModelIO {
|
||||||
MDLSubmesh FromGeometryElement (SCNGeometryElement element);
|
MDLSubmesh FromGeometryElement (SCNGeometryElement element);
|
||||||
|
|
||||||
[iOS (10, 0), Mac (10, 12)]
|
[iOS (10, 0), Mac (10, 12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("submeshWithSCNGeometryElement:bufferAllocator:")]
|
[Export ("submeshWithSCNGeometryElement:bufferAllocator:")]
|
||||||
MDLSubmesh FromGeometryElement (SCNGeometryElement element, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
MDLSubmesh FromGeometryElement (SCNGeometryElement element, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator);
|
||||||
|
@ -1367,6 +1397,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("hasAlphaValues")]
|
[Export ("hasAlphaValues")]
|
||||||
bool HasAlphaValues { get; set; }
|
bool HasAlphaValues { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -1416,6 +1447,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithTransformComponent:resetsTransform:")]
|
[Export ("initWithTransformComponent:resetsTransform:")]
|
||||||
IntPtr Constructor (IMDLTransformComponent component, bool resetsTransform);
|
IntPtr Constructor (IMDLTransformComponent component, bool resetsTransform);
|
||||||
|
|
||||||
|
@ -1425,6 +1457,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithMatrix:resetsTransform:")]
|
[Export ("initWithMatrix:resetsTransform:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
IntPtr Constructor (Matrix4 matrix, bool resetsTransform);
|
IntPtr Constructor (Matrix4 matrix, bool resetsTransform);
|
||||||
|
@ -1515,6 +1548,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
#if XAMCORE_4_0
|
#if XAMCORE_4_0
|
||||||
[Abstract]
|
[Abstract]
|
||||||
#endif
|
#endif
|
||||||
|
@ -1592,6 +1626,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("time")]
|
[Export ("time")]
|
||||||
double Time { get; set; }
|
double Time { get; set; }
|
||||||
|
|
||||||
|
@ -1672,6 +1707,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("removeAttributeNamed:")]
|
[Export ("removeAttributeNamed:")]
|
||||||
void RemoveAttribute (string name);
|
void RemoveAttribute (string name);
|
||||||
|
|
||||||
|
@ -1715,6 +1751,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithAsset:divisions:patchRadius:")]
|
[Export ("initWithAsset:divisions:patchRadius:")]
|
||||||
IntPtr Constructor (MDLAsset asset, int divisions, float patchRadius);
|
IntPtr Constructor (MDLAsset asset, int divisions, float patchRadius);
|
||||||
|
|
||||||
|
@ -1735,6 +1772,7 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("setVoxelsForMesh:divisions:patchRadius:")]
|
[Export ("setVoxelsForMesh:divisions:patchRadius:")]
|
||||||
void SetVoxels (MDLMesh mesh, int divisions, float patchRadius);
|
void SetVoxels (MDLMesh mesh, int divisions, float patchRadius);
|
||||||
|
|
||||||
|
@ -1788,32 +1826,38 @@ namespace XamCore.ModelIO {
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("convertToSignedShellField")]
|
[Export ("convertToSignedShellField")]
|
||||||
void ConvertToSignedShellField ();
|
void ConvertToSignedShellField ();
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("isValidSignedShellField")]
|
[Export ("isValidSignedShellField")]
|
||||||
bool IsValidSignedShellField { get; }
|
bool IsValidSignedShellField { get; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("shellFieldInteriorThickness")]
|
[Export ("shellFieldInteriorThickness")]
|
||||||
float ShellFieldInteriorThickness { get; set; }
|
float ShellFieldInteriorThickness { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("shellFieldExteriorThickness")]
|
[Export ("shellFieldExteriorThickness")]
|
||||||
float ShellFieldExteriorThickness { get; set; }
|
float ShellFieldExteriorThickness { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("coarseMesh")]
|
[Export ("coarseMesh")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
MDLMesh GetCoarseMesh ();
|
MDLMesh GetCoarseMesh ();
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("coarseMeshUsingAllocator:")]
|
[Export ("coarseMeshUsingAllocator:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
MDLMesh GetCoarseMeshUsingAllocator ([NullAllowed] IMDLMeshBufferAllocator allocator);
|
MDLMesh GetCoarseMeshUsingAllocator ([NullAllowed] IMDLMeshBufferAllocator allocator);
|
||||||
|
@ -1874,6 +1918,7 @@ namespace XamCore.ModelIO {
|
||||||
{
|
{
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithStride:")]
|
[Export ("initWithStride:")]
|
||||||
IntPtr Constructor (nuint stride);
|
IntPtr Constructor (nuint stride);
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ namespace XamCore.OpenGLES {
|
||||||
bool PresentRenderBuffer (nuint target);
|
bool PresentRenderBuffer (nuint target);
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("presentRenderbuffer:atTime:")]
|
[Export ("presentRenderbuffer:atTime:")]
|
||||||
bool PresentRenderBuffer (nuint target, double presentationTime);
|
bool PresentRenderBuffer (nuint target, double presentationTime);
|
||||||
|
|
||||||
|
|
|
@ -136,6 +136,7 @@ namespace XamCore.Security {
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kSecTrustCertificateTransparencyWhiteList")]
|
[Field ("kSecTrustCertificateTransparencyWhiteList")]
|
||||||
NSString CertificateTransparencyWhiteList { get; }
|
NSString CertificateTransparencyWhiteList { get; }
|
||||||
}
|
}
|
||||||
|
@ -162,6 +163,7 @@ namespace XamCore.Security {
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kSecAttrKeyTypeECSECPrimeRandom")]
|
[Field ("kSecAttrKeyTypeECSECPrimeRandom")]
|
||||||
ECSecPrimeRandom = 2,
|
ECSecPrimeRandom = 2,
|
||||||
}
|
}
|
||||||
|
@ -492,6 +494,7 @@ namespace XamCore.Security {
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
[Mac (10,12)]
|
[Mac (10,12)]
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
|
[TV (10,0)]
|
||||||
[Field ("kSecAttrAccessGroupToken")]
|
[Field ("kSecAttrAccessGroupToken")]
|
||||||
IntPtr AccessGroupToken { get; }
|
IntPtr AccessGroupToken { get; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -471,6 +471,7 @@ namespace XamCore.SpriteKit {
|
||||||
SKScene FromSize (CGSize size);
|
SKScene FromSize (CGSize size);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("sceneDidLoad")]
|
[Export ("sceneDidLoad")]
|
||||||
void SceneDidLoad ();
|
void SceneDidLoad ();
|
||||||
|
|
||||||
|
@ -708,6 +709,7 @@ namespace XamCore.SpriteKit {
|
||||||
SKShader Shader { get; set; }
|
SKShader Shader { get; set; }
|
||||||
|
|
||||||
[iOS (10,0), Mac (10,12)]
|
[iOS (10,0), Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("scaleToSize:")]
|
[Export ("scaleToSize:")]
|
||||||
void ScaleTo (CGSize size);
|
void ScaleTo (CGSize size);
|
||||||
}
|
}
|
||||||
|
@ -1357,10 +1359,12 @@ namespace XamCore.SpriteKit {
|
||||||
SKTexture TextureFromNode (SKNode node, CGRect crop);
|
SKTexture TextureFromNode (SKNode node, CGRect crop);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("preferredFramesPerSecond")]
|
[Export ("preferredFramesPerSecond")]
|
||||||
nint PreferredFramesPerSecond { get; set; }
|
nint PreferredFramesPerSecond { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||||
ISKViewDelegate Delegate { get; set; }
|
ISKViewDelegate Delegate { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -1599,6 +1603,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatVector2 (string name, Vector2 value);
|
IntPtr InitWithNameFloatVector2 (string name, Vector2 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:vectorFloat2:")]
|
[Export ("initWithName:vectorFloat2:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1615,6 +1620,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatVector3 (string name, Vector3 value);
|
IntPtr InitWithNameFloatVector3 (string name, Vector3 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:vectorFloat3:")]
|
[Export ("initWithName:vectorFloat3:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1631,6 +1637,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatVector4 (string name, Vector4 value);
|
IntPtr InitWithNameFloatVector4 (string name, Vector4 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:vectorFloat4:")]
|
[Export ("initWithName:vectorFloat4:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1647,6 +1654,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatMatrix2 (string name, Matrix2 value);
|
IntPtr InitWithNameFloatMatrix2 (string name, Matrix2 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:matrixFloat2x2:")]
|
[Export ("initWithName:matrixFloat2x2:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1663,6 +1671,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatMatrix3 (string name, Matrix3 value);
|
IntPtr InitWithNameFloatMatrix3 (string name, Matrix3 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:matrixFloat3x3:")]
|
[Export ("initWithName:matrixFloat3x3:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1679,6 +1688,7 @@ namespace XamCore.SpriteKit {
|
||||||
IntPtr InitWithNameFloatMatrix4 (string name, Matrix4 value);
|
IntPtr InitWithNameFloatMatrix4 (string name, Matrix4 value);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("initWithName:matrixFloat4x4:")]
|
[Export ("initWithName:matrixFloat4x4:")]
|
||||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
|
@ -1707,6 +1717,7 @@ namespace XamCore.SpriteKit {
|
||||||
Vector2 _FloatVector2Value { get; set; }
|
Vector2 _FloatVector2Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("vectorFloat2Value", ArgumentSemantic.Assign)]
|
[Export ("vectorFloat2Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Vector2 FloatVector2Value {
|
Vector2 FloatVector2Value {
|
||||||
|
@ -1725,6 +1736,7 @@ namespace XamCore.SpriteKit {
|
||||||
Vector3 _FloatVector3Value { get; set; }
|
Vector3 _FloatVector3Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("vectorFloat3Value", ArgumentSemantic.Assign)]
|
[Export ("vectorFloat3Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Vector3 FloatVector3Value {
|
Vector3 FloatVector3Value {
|
||||||
|
@ -1743,6 +1755,7 @@ namespace XamCore.SpriteKit {
|
||||||
Vector4 _FloatVector4Value { get; set; }
|
Vector4 _FloatVector4Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("vectorFloat4Value", ArgumentSemantic.Assign)]
|
[Export ("vectorFloat4Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Vector4 FloatVector4Value {
|
Vector4 FloatVector4Value {
|
||||||
|
@ -1761,6 +1774,7 @@ namespace XamCore.SpriteKit {
|
||||||
Matrix2 _FloatMatrix2Value { get; set; }
|
Matrix2 _FloatMatrix2Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("matrixFloat2x2Value", ArgumentSemantic.Assign)]
|
[Export ("matrixFloat2x2Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Matrix2 FloatMatrix2x2Value {
|
Matrix2 FloatMatrix2x2Value {
|
||||||
|
@ -1779,6 +1793,7 @@ namespace XamCore.SpriteKit {
|
||||||
Matrix3 _FloatMatrix3Value { get; set; }
|
Matrix3 _FloatMatrix3Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("matrixFloat3x3Value", ArgumentSemantic.Assign)]
|
[Export ("matrixFloat3x3Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Matrix3 FloatMatrix3x3Value {
|
Matrix3 FloatMatrix3x3Value {
|
||||||
|
@ -1797,6 +1812,7 @@ namespace XamCore.SpriteKit {
|
||||||
Matrix4 _FloatMatrix4Value { get; set; }
|
Matrix4 _FloatMatrix4Value { get; set; }
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Export ("matrixFloat4x4Value", ArgumentSemantic.Assign)]
|
[Export ("matrixFloat4x4Value", ArgumentSemantic.Assign)]
|
||||||
#if WATCH
|
#if WATCH
|
||||||
Matrix4 FloatMatrix4x4Value {
|
Matrix4 FloatMatrix4x4Value {
|
||||||
|
@ -1936,6 +1952,7 @@ namespace XamCore.SpriteKit {
|
||||||
SKAction ScaleYTo (nfloat scale, double sec);
|
SKAction ScaleYTo (nfloat scale, double sec);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("scaleToSize:duration:")]
|
[Export ("scaleToSize:duration:")]
|
||||||
SKAction ScaleTo (CGSize size, double sec);
|
SKAction ScaleTo (CGSize size, double sec);
|
||||||
|
@ -2254,18 +2271,21 @@ namespace XamCore.SpriteKit {
|
||||||
// SKAction_SKWarpable
|
// SKAction_SKWarpable
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("warpTo:duration:")]
|
[Export ("warpTo:duration:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
SKAction WarpTo (SKWarpGeometry warp, double duration);
|
SKAction WarpTo (SKWarpGeometry warp, double duration);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("animateWithWarps:times:")]
|
[Export ("animateWithWarps:times:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
SKAction Animate (SKWarpGeometry[] warps, NSNumber[] times);
|
SKAction Animate (SKWarpGeometry[] warps, NSNumber[] times);
|
||||||
|
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("animateWithWarps:times:restore:")]
|
[Export ("animateWithWarps:times:restore:")]
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
|
@ -2794,6 +2814,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface SKTileDefinition : NSCopying, NSCoding
|
interface SKTileDefinition : NSCopying, NSCoding
|
||||||
|
@ -2866,6 +2887,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(SKNode))]
|
[BaseType (typeof(SKNode))]
|
||||||
interface SKTileMapNode : NSCopying, NSCoding
|
interface SKTileMapNode : NSCopying, NSCoding
|
||||||
{
|
{
|
||||||
|
@ -2963,6 +2985,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
interface SKTileSet : NSCopying, NSCoding
|
interface SKTileSet : NSCopying, NSCoding
|
||||||
{
|
{
|
||||||
|
@ -3008,6 +3031,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
interface SKTileGroup : NSCopying, NSCoding
|
interface SKTileGroup : NSCopying, NSCoding
|
||||||
{
|
{
|
||||||
|
@ -3038,6 +3062,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
interface SKTileGroupRule : NSCopying, NSCoding
|
interface SKTileGroupRule : NSCopying, NSCoding
|
||||||
{
|
{
|
||||||
|
@ -3060,11 +3085,13 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(NSObject))]
|
[BaseType (typeof(NSObject))]
|
||||||
interface SKWarpGeometry : NSCopying, NSCoding {}
|
interface SKWarpGeometry : NSCopying, NSCoding {}
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[Protocol]
|
[Protocol]
|
||||||
interface SKWarpable
|
interface SKWarpable
|
||||||
{
|
{
|
||||||
|
@ -3079,6 +3106,7 @@ namespace XamCore.SpriteKit {
|
||||||
|
|
||||||
[Watch (3,0)]
|
[Watch (3,0)]
|
||||||
[iOS (10,0)][Mac (10,12)]
|
[iOS (10,0)][Mac (10,12)]
|
||||||
|
[TV (10,0)]
|
||||||
[BaseType (typeof(SKWarpGeometry))]
|
[BaseType (typeof(SKWarpGeometry))]
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface SKWarpGeometryGrid : NSCoding
|
interface SKWarpGeometryGrid : NSCoding
|
||||||
|
|
|
@ -5488,6 +5488,7 @@ namespace XamCore.UIKit {
|
||||||
NSNumber[] AllowedPressTypes { get; set; }
|
NSNumber[] AllowedPressTypes { get; set; }
|
||||||
|
|
||||||
[iOS (9,2)]
|
[iOS (9,2)]
|
||||||
|
[TV (9,1)]
|
||||||
[Export ("requiresExclusiveTouchType")]
|
[Export ("requiresExclusiveTouchType")]
|
||||||
bool RequiresExclusiveTouchType { get; set; }
|
bool RequiresExclusiveTouchType { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace Introspection {
|
||||||
#if __WATCHOS__
|
#if __WATCHOS__
|
||||||
if (!TestRuntime.CheckWatchOSSystemVersion (sdk.Major, sdk.Minor))
|
if (!TestRuntime.CheckWatchOSSystemVersion (sdk.Major, sdk.Minor))
|
||||||
return true;
|
return true;
|
||||||
#elif __IOS__ || ___TVOS__
|
#elif __IOS__ || __TVOS__
|
||||||
if (!UIDevice.CurrentDevice.CheckSystemVersion (sdk.Major, sdk.Minor))
|
if (!UIDevice.CurrentDevice.CheckSystemVersion (sdk.Major, sdk.Minor))
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -171,22 +171,22 @@ namespace Introspection {
|
||||||
break;
|
break;
|
||||||
case "SKNode":
|
case "SKNode":
|
||||||
switch (name) {
|
switch (name) {
|
||||||
#if __TVOS__
|
|
||||||
// skip for tvOS 10+
|
|
||||||
case "preferredFocusedView":
|
|
||||||
if (TestRuntime.CheckXcodeVersion (8, 0))
|
|
||||||
return true;
|
|
||||||
break;
|
|
||||||
#else
|
|
||||||
// UIFocus protocol conformance on iOS10+
|
// UIFocus protocol conformance on iOS10+
|
||||||
case "didUpdateFocusInContext:withAnimationCoordinator:":
|
case "didUpdateFocusInContext:withAnimationCoordinator:":
|
||||||
case "setNeedsFocusUpdate":
|
case "setNeedsFocusUpdate":
|
||||||
case "shouldUpdateFocusInContext:":
|
case "shouldUpdateFocusInContext:":
|
||||||
case "updateFocusIfNeeded":
|
case "updateFocusIfNeeded":
|
||||||
|
#if __TVOS__
|
||||||
|
case "canBecomeFocused":
|
||||||
|
#else
|
||||||
case "preferredFocusedView":
|
case "preferredFocusedView":
|
||||||
|
#endif
|
||||||
if (!TestRuntime.CheckXcodeVersion (8, 0))
|
if (!TestRuntime.CheckXcodeVersion (8, 0))
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
#if __TVOS__
|
||||||
|
case "preferredFocusedView":
|
||||||
|
return true;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -595,6 +595,11 @@ namespace Introspection {
|
||||||
case "HKBiologicalSexObject":
|
case "HKBiologicalSexObject":
|
||||||
case "HKBloodTypeObject":
|
case "HKBloodTypeObject":
|
||||||
return !TestRuntime.CheckXcodeVersion (7, 0);
|
return !TestRuntime.CheckXcodeVersion (7, 0);
|
||||||
|
#if __TVOS__
|
||||||
|
case "SKAttribute":
|
||||||
|
case "SKAttributeValue":
|
||||||
|
return !TestRuntime.CheckXcodeVersion (7, 2);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче