IMTL4MachineLearningCommandEncoder Interface

Définition

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 MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
Handle

Handle (pointeur) vers la représentation d’objet non managée.

(Hérité de INativeObject)
Label

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)

Méthodes

Nom Description
BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
DispatchNetwork(IMTLHeap)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

EndEncoding()

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
InsertDebugSignpost(String)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
PopDebugGroup()

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
PushDebugGroup(String)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
SetArgumentTable(IMTL4ArgumentTable)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

SetPipelineState(IMTL4MachineLearningPipelineState)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

UpdateFence(IMTLFence, MTLStages)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)
WaitForFence(IMTLFence, MTLStages)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

(Hérité de IMTL4CommandEncoder)

Méthodes d’extension

Nom Description
GetHandle(INativeObject)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

GetNonNullHandle(INativeObject, String)

Cette interface représente le protocole MTL4MachineLearningCommandEncoderObjective-C .

S’applique à