title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.TVOS SDK API diff: 14.14.2 vs 14.21.0 |
List of API changes between Xamarin.TVOS versions 14.14.2 and 14.21.0. |
spouliot |
sepoulio |
4/29/2021 |
article |
af0be2ab-7286-c65d-0d01-532a1f797f59 |
xamarin |
Added property:
public virtual bool PrefersNoInterruptionsFromSystemAlerts { get; }
Added method:
public virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out Foundation.NSError outError);
Added value:
OverrideMutedMicrophoneInterruption = 128,
Added properties:
public virtual AVContentKey ContentKey { get; }
public virtual AVContentKeySpecifier ContentKeySpecifier { get; }
Added property:
public static Foundation.NSString WaitingDuringInterstitialEventReason { get; }
Added property:
public virtual AVVariantPreferences VariantPreferences { get; set; }
Added property:
public virtual bool HasSufficientMediaDataForReliablePlaybackStart { get; }
Added property:
public static Foundation.NSString OutputObscuredDueToInsufficientExternalProtectionDidChangeNotification { get; }
Added methods:
public static Foundation.NSObject ObserveOutputObscuredDueToInsufficientExternalProtectionDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveOutputObscuredDueToInsufficientExternalProtectionDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
Added property:
public virtual bool DelaysRateChangeUntilHasSufficientMediaData { get; set; }
Added method:
public virtual void SetRate (float rate, CoreMedia.CMTime time, CoreMedia.CMTime hostTime);
Added method:
public virtual void DidProvideContentKey (AVContentKeySession contentKeySession, AVContentKey contentKey);
public class AVContentKey : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVContentKey ();
protected AVContentKey (Foundation.NSObjectFlag t);
protected AVContentKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVContentKeySpecifier ContentKeySpecifier { get; }
}
public static class AVContentKeyRecipient_Extensions {
// methods
public static void DidProvideContentKey (this IAVContentKeyRecipient This, AVContentKeySession contentKeySession, AVContentKey contentKey);
}
public class AVContentKeySpecifier : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVContentKeySpecifier ();
protected AVContentKeySpecifier (Foundation.NSObjectFlag t);
protected AVContentKeySpecifier (IntPtr handle);
public AVContentKeySpecifier (AVContentKeySystem keySystem, Foundation.NSObject contentKeyIdentifier, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject Identifier { get; }
public virtual AVContentKeySystem KeySystem { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Options { get; }
// methods
public static AVContentKeySpecifier GetContentKeySpecifier (AVContentKeySystem keySystem, Foundation.NSObject contentKeyIdentifier, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
}
public class AVMetadataFaceObject : AVFoundation.AVMetadataObject, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVMetadataFaceObject ();
protected AVMetadataFaceObject (Foundation.NSObjectFlag t);
protected AVMetadataFaceObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint FaceID { get; }
public virtual bool HasRollAngle { get; }
public virtual bool HasYawAngle { get; }
public virtual nfloat RollAngle { get; }
public virtual nfloat YawAngle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class AVMetadataMachineReadableCodeObject : AVFoundation.AVMetadataObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVMetadataMachineReadableCodeObject ();
protected AVMetadataMachineReadableCodeObject (Foundation.NSObjectFlag t);
protected AVMetadataMachineReadableCodeObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CoreImage.CIBarcodeDescriptor Descriptor { get; }
public virtual string StringValue { get; }
public virtual Foundation.NSDictionary[] WeakCorners { get; }
}
public class AVMetadataObject : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected AVMetadataObject (Foundation.NSObjectFlag t);
protected AVMetadataObject (IntPtr handle);
// properties
public virtual CoreGraphics.CGRect Bounds { get; }
public override IntPtr ClassHandle { get; }
public virtual CoreMedia.CMTime Duration { get; }
public virtual CoreMedia.CMTime Time { get; }
public static Foundation.NSString TypeAztecCode { get; }
public static Foundation.NSString TypeCode128Code { get; }
public static Foundation.NSString TypeCode39Code { get; }
public static Foundation.NSString TypeCode39Mod43Code { get; }
public static Foundation.NSString TypeCode93Code { get; }
public static Foundation.NSString TypeDataMatrixCode { get; }
public static Foundation.NSString TypeEAN13Code { get; }
public static Foundation.NSString TypeEAN8Code { get; }
public static Foundation.NSString TypeFace { get; }
public static Foundation.NSString TypeITF14Code { get; }
public static Foundation.NSString TypeInterleaved2of5Code { get; }
public static Foundation.NSString TypePDF417Code { get; }
public static Foundation.NSString TypeQRCode { get; }
public static Foundation.NSString TypeUPCECode { get; }
public virtual Foundation.NSString WeakType { get; }
}
public class AVPlayerInterstitialEvent : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected AVPlayerInterstitialEvent (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate Date { get; }
public virtual AVPlayerItem[] InterstitialTemplateItems { get; }
public virtual AVPlayerItem PrimaryItem { get; }
public virtual AVPlayerInterstitialEventRestrictions Restrictions { get; }
public virtual CoreMedia.CMTime ResumptionOffset { get; }
public virtual AVPlayerItem[] TemplateItems { get; }
public virtual CoreMedia.CMTime Time { get; }
// methods
protected override void Dispose (bool disposing);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
}
public class AVPlayerInterstitialEventController : AVFoundation.AVPlayerInterstitialEventObserver, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVPlayerInterstitialEventController (AVPlayer primaryPlayer);
protected AVPlayerInterstitialEventController (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEventController (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVPlayerInterstitialEvent[] Events { get; set; }
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; set; }
// methods
public virtual void CancelCurrentEvent (CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEventController GetInterstitialEventController (AVPlayer primaryPlayer);
public static AVPlayerInterstitialEventController GetPlayerInterstitialEventController (AVPlayer primaryPlayer);
}
public class AVPlayerInterstitialEventObserver : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVPlayerInterstitialEventObserver (AVPlayer primaryPlayer);
protected AVPlayerInterstitialEventObserver (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEventObserver (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVPlayerInterstitialEvent CurrentEvent { get; }
public static Foundation.NSString CurrentEventDidChangeNotification { get; }
public virtual AVPlayerInterstitialEvent[] Events { get; }
public static Foundation.NSString EventsDidChangeNotification { get; }
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; }
public virtual AVQueuePlayer InterstitialPlayer { get; }
public virtual AVPlayer PrimaryPlayer { get; }
// methods
protected override void Dispose (bool disposing);
public static AVPlayerInterstitialEventObserver GetInterstitialEventObserver (AVPlayer primaryPlayer);
public static AVPlayerInterstitialEventObserver GetPlayerInterstitialEventObserver (AVPlayer primaryPlayer);
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveCurrentEventDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveCurrentEventDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveEventsDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveEventsDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
[Serializable]
[Flags]
public enum AVPlayerInterstitialEventRestrictions {
ConstrainsSeekingForwardInPrimaryContent = 1,
DefaultPolicy = 0,
None = 0,
RequiresPlaybackAtPreferredRateForAdvancement = 4,
}
public static class AVPlayerItem_AVPlayerInterstitialSupport {
// methods
public static bool GetAutomaticallyHandlesInterstitialEvents (this AVPlayerItem This);
public static AVPlayerItem GetTemplatePlayerItem (this AVPlayerItem This);
public static void SetAutomaticallyHandlesInterstitialEvents (this AVPlayerItem This, bool value);
}
public static class AVQueuedSampleBufferRendering_Extensions {
// methods
public static bool GetHasSufficientMediaDataForReliablePlaybackStart (this IAVQueuedSampleBufferRendering This);
}
public static class AVSampleBufferDisplayLayer_ProtectedContent {
// methods
public static bool GetOutputObscuredDueToInsufficientExternalProtection (this AVSampleBufferDisplayLayer This);
}
[Serializable]
[Flags]
public enum AVVariantPreferences {
None = 0,
ScalabilityToLosslessAudio = 1,
}
Added value:
LoadedRemotely = 2147483648,
Added field:
public static Foundation.NSString LoadOutOfProcess;
Added value:
DolbyVisionHevc = 1685481521,
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CTRunDelegate ();
Added property:
public IntPtr Handle { get; }
public static class CVImageBufferAlphaChannelModeExtensions {
// methods
public static Foundation.NSString GetConstant (this CVImageBufferAlphaChannelMode self);
public static CVImageBufferAlphaChannelMode GetValue (Foundation.NSString constant);
}
Added properties:
public static NSString MultipleUnderlyingErrorsKey { get; }
public virtual NSError[] UnderlyingErrors { get; }
Added property:
public virtual bool AssumesHttp3Capable { get; set; }
Added property:
public static NSString FileOperationKindUploading { get; }
Added property:
public static NSString UbiquitousItemIsExcludedFromSyncKey { get; }
Added property:
public virtual bool AssumesHttp3Capable { get; set; }
Added property:
public virtual bool PrefersIncrementalDelivery { get; set; }
Added property:
public static bool ShouldMonitorBackgroundEvents { get; set; }
public class GCDualSenseAdaptiveTrigger : GameController.GCControllerButtonInput, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected GCDualSenseAdaptiveTrigger (Foundation.NSObjectFlag t);
protected GCDualSenseAdaptiveTrigger (IntPtr handle);
// properties
public virtual float ArmPosition { get; }
public override IntPtr ClassHandle { get; }
public virtual GCDualSenseAdaptiveTriggerMode Mode { get; }
public virtual GCDualSenseAdaptiveTriggerStatus Status { get; }
// methods
public virtual void SetModeFeedback (float startPosition, float resistiveStrength);
public virtual void SetModeOff ();
public virtual void SetModeVibration (float startPosition, float amplitude, float frequency);
public virtual void SetModeWeapon (float startPosition, float endPosition, float resistiveStrength);
}
[Serializable]
public enum GCDualSenseAdaptiveTriggerMode {
Feedback = 1,
Off = 0,
Vibration = 3,
Weapon = 2,
}
[Serializable]
public enum GCDualSenseAdaptiveTriggerStatus {
FeedbackLoadApplied = 1,
FeedbackNoLoad = 0,
Unknown = -1,
VibrationIsVibrating = 6,
VibrationNotVibrating = 5,
WeaponFired = 4,
WeaponFiring = 3,
WeaponReady = 2,
}
public class GCDualSenseGamepad : GameController.GCExtendedGamepad, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected GCDualSenseGamepad (Foundation.NSObjectFlag t);
protected GCDualSenseGamepad (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual GCDualSenseAdaptiveTrigger LeftTrigger { get; }
public virtual GCDualSenseAdaptiveTrigger RightTrigger { get; }
public virtual GCControllerButtonInput TouchpadButton { get; }
public virtual GCControllerDirectionPad TouchpadPrimary { get; }
public virtual GCControllerDirectionPad TouchpadSecondary { get; }
}
[Serializable]
public enum GCInputDirectional {
CardinalDpad = 1,
Dpad = 0,
}
public static class GCInputDirectionalExtensions {
// methods
public static Foundation.NSString GetConstant (this GCInputDirectional self);
public static GCInputDirectional GetValue (Foundation.NSString constant);
}
Added values:
FriendListDenied = 102,
FriendListDescriptionMissing = 100,
FriendListRestricted = 101,
Added methods:
public virtual void LoadFriendsAuthorizationStatus (System.Action<GKFriendsAuthorizationStatus,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<GKFriendsAuthorizationStatus> LoadFriendsAuthorizationStatusAsync ();
public virtual void LoadFriendsList (System.Action<GKPlayer[],Foundation.NSError> completionHandler);
public virtual void LoadFriendsList (string[] identifiers, System.Action<GKPlayer[],Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<GKPlayer[]> LoadFriendsListAsync ();
public virtual System.Threading.Tasks.Task<GKPlayer[]> LoadFriendsListAsync (string[] identifiers);
[Serializable]
public enum GKFriendsAuthorizationStatus {
Authorized = 3,
Denied = 2,
NotDetermined = 0,
Restricted = 1,
}
Added property:
public virtual double AspectRatio { get; }
Added property:
public virtual HMCameraAudioStreamSetting AudioStreamSetting { get; }
Added methods:
public virtual void UpdateAudioStreamSetting (HMCameraAudioStreamSetting audioStreamSetting, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task UpdateAudioStreamSettingAsync (HMCameraAudioStreamSetting audioStreamSetting);
Added property:
public static Foundation.NSString PNGTransparency { get; }
Added value:
My = 2,
Added methods:
public static MLCActivationLayer CreateClampLayer (float minValue, float maxValue);
public static MLCActivationLayer CreateHardSwishLayer ();
Added values:
Clamp = 20,
HardSwish = 19,
Added values:
DivideNoNaN = 27,
Max = 29,
Min = 28,
MultiplyNoNaN = 26,
Added methods:
public virtual MLCTensor Gather (nuint dimension, MLCTensor source, MLCTensor indices);
public virtual MLCTensor Scatter (nuint dimension, MLCTensor source, MLCTensor indices, MLCTensor copyFrom, MLCReductionType reductionType);
public virtual MLCTensor Select (MLCTensor[] sources, MLCTensor condition);
Added method:
public virtual bool Compile (MLCGraphCompilationOptions options, MLCDevice device, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensor> inputTensors, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData> inputTensorsData);
Added properties:
public virtual MLCTensor Mean { get; }
public virtual MLCTensor Variance { get; }
Added method:
public static MLCInstanceNormalizationLayer Create (nuint featureChannelCount, MLCTensor mean, MLCTensor variance, MLCTensor beta, MLCTensor gamma, float varianceEpsilon, float momentum);
Added property:
public virtual nuint[] Dimensions { get; }
Added method:
public static MLCReductionLayer Create (MLCReductionType reductionType, nuint[] dimensions);
Added values:
All = 9,
Any = 8,
L1Norm = 7,
Added property:
public virtual nint[] Shape { get; }
Added method:
public static MLCTensorData CreateFromBytesNoCopy (IntPtr bytes, nuint length, System.Action<System.IntPtr,System.nuint> deallocator);
Added method:
public virtual bool Compile (MLCGraphCompilationOptions options, MLCDevice device, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensor> inputTensors, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData> inputTensorsData);
public class MLCComparisonLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCComparisonLayer (Foundation.NSObjectFlag t);
protected MLCComparisonLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLCComparisonOperation Operation { get; }
// methods
public static MLCComparisonLayer Create (MLCComparisonOperation operation);
}
[Serializable]
public enum MLCComparisonOperation {
Equal = 0,
Greater = 3,
GreaterOrEqual = 5,
Less = 2,
LessOrEqual = 4,
LogicalAnd = 6,
LogicalNand = 9,
LogicalNor = 10,
LogicalNot = 8,
LogicalOr = 7,
LogicalXor = 11,
NotEqual = 1,
}
public static class MLCComparisonOperationExtensions {
// methods
public static string GetDebugDescription (this MLCComparisonOperation self);
}
public class MLCGatherLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCGatherLayer (Foundation.NSObjectFlag t);
protected MLCGatherLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
// methods
public static MLCGatherLayer Create (nuint dimension);
}
public class MLCScatterLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCScatterLayer (Foundation.NSObjectFlag t);
protected MLCScatterLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
public virtual MLCReductionType ReductionType { get; }
// methods
public static MLCScatterLayer Create (nuint dimension, MLCReductionType reductionType);
}
public class MLCSelectionLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCSelectionLayer (Foundation.NSObjectFlag t);
protected MLCSelectionLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static MLCSelectionLayer Create ();
}
Added properties:
public bool IsPreorder { get; }
public static Foundation.NSString IsPreorderProperty { get; }
Added methods:
public static void DispatchThreads (this IMTLComputeCommandEncoder This, MTLSize threadsPerGrid, MTLSize threadsPerThreadgroup);
public static void SetImageblock (this IMTLComputeCommandEncoder This, nuint width, nuint height);
Added method:
public static nuint GetImageblockMemoryLength (this IMTLComputePipelineState This, MTLSize imageblockDimensions);
Added methods:
public static void CreateRenderPipelineState (this IMTLDevice This, MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, MTLNewRenderPipelineStateWithReflectionCompletionHandler completionHandler);
public static IMTLRenderPipelineState CreateRenderPipelineState (this IMTLDevice This, MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out Foundation.NSError error);
Added methods:
public static void DrawIndexedPatches (this IMTLIndirectRenderCommand This, nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer controlPointIndexBuffer, nuint controlPointIndexBufferOffset, nuint instanceCount, nuint baseInstance, IMTLBuffer buffer, nuint offset, nuint instanceStride);
public static void DrawPatches (this IMTLIndirectRenderCommand This, nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, nuint instanceCount, nuint baseInstance, IMTLBuffer buffer, nuint offset, nuint instanceStride);
Added methods:
public static void DispatchThreadsPerTile (this IMTLRenderCommandEncoder This, MTLSize threadsPerTile);
public static void DrawIndexedPatches (this IMTLRenderCommandEncoder This, nuint numberOfPatchControlPoints, IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer controlPointIndexBuffer, nuint controlPointIndexBufferOffset, IMTLBuffer indirectBuffer, nuint indirectBufferOffset);
public static void DrawPatches (this IMTLRenderCommandEncoder This, nuint numberOfPatchControlPoints, IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer indirectBuffer, nuint indirectBufferOffset);
public static nuint GetTileHeight (this IMTLRenderCommandEncoder This);
public static nuint GetTileWidth (this IMTLRenderCommandEncoder This);
public static void SetScissorRects (this IMTLRenderCommandEncoder This, IntPtr scissorRects, nuint count);
public static void SetThreadgroupMemoryLength (this IMTLRenderCommandEncoder This, nuint length, nuint offset, nuint index);
public static void SetTileBuffer (this IMTLRenderCommandEncoder This, IMTLBuffer buffer, nuint offset, nuint index);
public static void SetTileBufferOffset (this IMTLRenderCommandEncoder This, nuint offset, nuint index);
public static void SetTileBuffers (this IMTLRenderCommandEncoder This, IMTLBuffer[] buffers, IntPtr offsets, Foundation.NSRange range);
public static void SetTileBytes (this IMTLRenderCommandEncoder This, IntPtr bytes, nuint length, nuint index);
public static void SetTileSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, nuint index);
public static void SetTileSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index);
public static void SetTileSamplerStates (this IMTLRenderCommandEncoder This, IMTLSamplerState[] samplers, Foundation.NSRange range);
public static void SetTileSamplerStates (this IMTLRenderCommandEncoder This, IMTLSamplerState[] samplers, IntPtr lodMinClamps, IntPtr lodMaxClamps, Foundation.NSRange range);
public static void SetTileTexture (this IMTLRenderCommandEncoder This, IMTLTexture texture, nuint index);
public static void SetTileTextures (this IMTLRenderCommandEncoder This, IMTLTexture[] textures, Foundation.NSRange range);
public static void SetViewports (this IMTLRenderCommandEncoder This, IntPtr viewports, nuint count);
Added properties:
public virtual nuint DefaultRasterSampleCount { get; set; }
public virtual nuint ImageblockSampleLength { get; set; }
public virtual nuint RenderTargetArrayLength { get; set; }
public virtual nuint RenderTargetHeight { get; set; }
public virtual nuint RenderTargetWidth { get; set; }
public virtual nuint ThreadgroupMemoryLength { get; set; }
public virtual nuint TileHeight { get; set; }
public virtual nuint TileWidth { get; set; }
Added property:
public virtual MTLMultisampleStencilResolveFilter StencilResolveFilter { get; set; }
Added property:
public virtual MTLPrimitiveTopologyClass InputPrimitiveTopology { get; set; }
Added property:
public virtual MTLArgument[] TileArguments { get; }
Added methods:
public static nuint GetImageblockMemoryLength (this IMTLRenderPipelineState This, MTLSize imageblockDimensions);
public static nuint GetImageblockSampleLength (this IMTLRenderPipelineState This);
public static nuint GetMaxTotalThreadsPerThreadgroup (this IMTLRenderPipelineState This);
public static bool GetThreadgroupSizeMatchesTileSize (this IMTLRenderPipelineState This);
public static class MTLBinaryArchive_Extensions {
// methods
public static bool AddTileRenderPipelineFunctions (this IMTLBinaryArchive This, MTLTileRenderPipelineDescriptor descriptor, out Foundation.NSError error);
}
[Serializable]
public enum MTLMultisampleStencilResolveFilter {
DepthResolvedSample = 1,
Sample0 = 0,
}
public sealed delegate MTLNewRenderPipelineStateWithReflectionCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public MTLNewRenderPipelineStateWithReflectionCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IMTLRenderPipelineState renderPipelineState, MTLRenderPipelineReflection reflection, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (IMTLRenderPipelineState renderPipelineState, MTLRenderPipelineReflection reflection, Foundation.NSError error);
}
public class MTLTileRenderPipelineColorAttachmentDescriptor : Foundation.NSObject, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MTLTileRenderPipelineColorAttachmentDescriptor ();
protected MTLTileRenderPipelineColorAttachmentDescriptor (Foundation.NSObjectFlag t);
protected MTLTileRenderPipelineColorAttachmentDescriptor (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MTLPixelFormat PixelFormat { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class MTLTileRenderPipelineColorAttachmentDescriptorArray : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MTLTileRenderPipelineColorAttachmentDescriptorArray ();
protected MTLTileRenderPipelineColorAttachmentDescriptorArray (Foundation.NSObjectFlag t);
protected MTLTileRenderPipelineColorAttachmentDescriptorArray (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MTLTileRenderPipelineDescriptor : Foundation.NSObject, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MTLTileRenderPipelineDescriptor ();
protected MTLTileRenderPipelineDescriptor (Foundation.NSObjectFlag t);
protected MTLTileRenderPipelineDescriptor (IntPtr handle);
// properties
public virtual IMTLBinaryArchive[] BinaryArchives { get; set; }
public override IntPtr ClassHandle { get; }
public virtual MTLTileRenderPipelineColorAttachmentDescriptorArray ColorAttachments { get; }
public virtual string Label { get; set; }
public virtual nuint MaxTotalThreadsPerThreadgroup { get; set; }
public virtual nuint RasterSampleCount { get; set; }
public virtual bool ThreadgroupSizeMatchesTileSize { get; set; }
public virtual MTLPipelineBufferDescriptorArray TileBuffers { get; }
public virtual IMTLFunction TileFunction { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void Reset ();
}
Modified fields:
-public const string SdkVersion = "14.3";
+public const string SdkVersion = "14.5";
-public const string Version = "14.14.2";
+public const string Version = "14.21.0";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
Added value:
OverlayPresentedInBackgroundScene = 20,
Added property:
public virtual UISplitViewControllerDisplayModeButtonVisibility DisplayModeButtonVisibility { get; set; }
Removed value:
CarTemplateApplication = 2,
[Serializable]
public enum UISplitViewControllerDisplayModeButtonVisibility {
Always = 2,
Automatic = 0,
Never = 1,
}
Added properties:
public static Foundation.NSString BaseLayerFrameRateFraction { get; }
public static Foundation.NSString EnableLowLatencyRateControl { get; }
public static class HdrMetadataInsertionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this HdrMetadataInsertionMode self);
public static HdrMetadataInsertionMode GetValue (Foundation.NSString constant);
}