IMTL4CommitFeedback 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此介面代表 Objective-C 協定 MTL4CommitFeedback。
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")]
public interface IMTL4CommitFeedback : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface IMTL4CommitFeedback : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface IMTL4CommitFeedback : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")>]
type IMTL4CommitFeedback = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type IMTL4CommitFeedback = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommitFeedback", WrapperType=typeof(Metal.MTL4CommitFeedbackWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="error", IsProperty=true, IsRequired=true, IsStatic=false, Name="Error", PropertyType=typeof(Foundation.NSError), Selector="error")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUStartTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuStartTime", PropertyType=typeof(System.Double), Selector="GPUStartTime")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="GPUEndTime", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuEndTime", PropertyType=typeof(System.Double), Selector="GPUEndTime")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type IMTL4CommitFeedback = interface
interface INativeObject
interface IDisposable
- 屬性
- 實作
備註
實作此介面(及其子類別 NSObject)的類別會匯出至 Objective-C,作為實作該介面所代表的 Objective-C 協定。
類別也可以從此介面實作成員,以實作協定中的成員。
屬性
| 名稱 | Description |
|---|---|
| Error |
此介面代表 Objective-C 協定 |
| GpuEndTime |
此介面代表 Objective-C 協定 |
| GpuStartTime |
此介面代表 Objective-C 協定 |
| Handle |
Handle(指標)指向未管理物件表示。 (繼承來源 INativeObject) |
擴充方法
| 名稱 | Description |
|---|---|
| GetHandle(INativeObject) |
此介面代表 Objective-C 協定 |
| GetNonNullHandle(INativeObject, String) |
此介面代表 Objective-C 協定 |