Språk

IMTL4MachineLearningCommandEncoder Gränssnitt

Definition

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

[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
Attribut
Implementeringar

Kommentarer

En klass som implementerar det här gränssnittet (och underklasserna NSObject) exporteras till Objective-C som implementerar det Objective-C protokoll som det här gränssnittet representerar.

En klass kan också implementera medlemmar från det här gränssnittet för att implementera medlemmar från protokollet.

Egenskaper

Name Description
CommandBuffer

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
Handle

Hantera (pekaren) till den ohanterade objektrepresentationen.

(Ärvd från INativeObject)
Label

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)

Metoder

Name Description
BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
DispatchNetwork(IMTLHeap)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

EndEncoding()

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
InsertDebugSignpost(String)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
PopDebugGroup()

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
PushDebugGroup(String)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
SetArgumentTable(IMTL4ArgumentTable)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

SetPipelineState(IMTL4MachineLearningPipelineState)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

UpdateFence(IMTLFence, MTLStages)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)
WaitForFence(IMTLFence, MTLStages)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

(Ärvd från IMTL4CommandEncoder)

Tilläggsmetoder

Name Description
GetHandle(INativeObject)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

GetNonNullHandle(INativeObject, String)

Det här gränssnittet representerar protokollet Objective-C MTL4MachineLearningCommandEncoder.

Gäller för