IMTL4MachineLearningCommandEncoder Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")]
public interface IMTL4MachineLearningCommandEncoder : IDisposable, Metal.IMTL4CommandEncoder
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface IMTL4MachineLearningCommandEncoder : IDisposable, Metal.IMTL4CommandEncoder
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface IMTL4MachineLearningCommandEncoder : IDisposable, Metal.IMTL4CommandEncoder
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")>]
type IMTL4MachineLearningCommandEncoder = interface
interface INativeObject
interface IDisposable
interface IMTL4CommandEncoder
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type IMTL4MachineLearningCommandEncoder = interface
interface INativeObject
interface IDisposable
interface IMTL4CommandEncoder
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4MachineLearningCommandEncoder", WrapperType=typeof(Metal.MTL4MachineLearningCommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetPipelineState", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4MachineLearningPipelineState) }, Selector="setPipelineState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetArgumentTable", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTL4ArgumentTable) }, Selector="setArgumentTable:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DispatchNetwork", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLHeap) }, Selector="dispatchNetworkWithIntermediatesHeap:")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type IMTL4MachineLearningCommandEncoder = interface
interface INativeObject
interface IDisposable
interface IMTL4CommandEncoder
- Attributs
- Implémente
Remarques
Une classe qui implémente cette interface (et les sous-classes NSObject) sera exportée vers Objective-C, car l’implémentation du protocole Objective-C cette interface représente.
Une classe peut également implémenter des membres de cette interface pour implémenter des membres à partir du protocole.
Propriétés
| Nom | Description |
|---|---|
| CommandBuffer |
Cette interface représente le protocole |
| Handle |
Handle (pointeur) vers la représentation d’objet non managée. (Hérité de INativeObject) |
| Label |
Cette interface représente le protocole |
Méthodes
| Nom | Description |
|---|---|
| BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Cette interface représente le protocole |
| BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Cette interface représente le protocole |
| BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Cette interface représente le protocole |
| DispatchNetwork(IMTLHeap) |
Cette interface représente le protocole |
| EndEncoding() |
Cette interface représente le protocole |
| InsertDebugSignpost(String) |
Cette interface représente le protocole |
| PopDebugGroup() |
Cette interface représente le protocole |
| PushDebugGroup(String) |
Cette interface représente le protocole |
| SetArgumentTable(IMTL4ArgumentTable) |
Cette interface représente le protocole |
| SetPipelineState(IMTL4MachineLearningPipelineState) |
Cette interface représente le protocole |
| UpdateFence(IMTLFence, MTLStages) |
Cette interface représente le protocole |
| WaitForFence(IMTLFence, MTLStages) |
Cette interface représente le protocole |
Méthodes d’extension
| Nom | Description |
|---|---|
| GetHandle(INativeObject) |
Cette interface représente le protocole |
| GetNonNullHandle(INativeObject, String) |
Cette interface représente le protocole |