IMTL4MachineLearningCommandEncoder Interface
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Essa interface representa o protocolo 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
- Atributos
- Implementações
Comentários
Uma classe que implementa essa interface (e subclasses NSObject) será exportada para Objective-C como implementando o protocolo Objective-C que essa interface representa.
Uma classe também pode implementar membros dessa interface para implementar membros do protocolo.
Propriedades
| Nome | Description |
|---|---|
| CommandBuffer |
Essa interface representa o protocolo |
| Handle |
Manipule (ponteiro) para a representação de objeto não gerenciado. (Herdado de INativeObject) |
| Label |
Essa interface representa o protocolo |
Métodos
| Nome | Description |
|---|---|
| BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Essa interface representa o protocolo |
| BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Essa interface representa o protocolo |
| BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Essa interface representa o protocolo |
| DispatchNetwork(IMTLHeap) |
Essa interface representa o protocolo |
| EndEncoding() |
Essa interface representa o protocolo |
| InsertDebugSignpost(String) |
Essa interface representa o protocolo |
| PopDebugGroup() |
Essa interface representa o protocolo |
| PushDebugGroup(String) |
Essa interface representa o protocolo |
| SetArgumentTable(IMTL4ArgumentTable) |
Essa interface representa o protocolo |
| SetPipelineState(IMTL4MachineLearningPipelineState) |
Essa interface representa o protocolo |
| UpdateFence(IMTLFence, MTLStages) |
Essa interface representa o protocolo |
| WaitForFence(IMTLFence, MTLStages) |
Essa interface representa o protocolo |
Métodos de Extensão
| Nome | Description |
|---|---|
| GetHandle(INativeObject) |
Essa interface representa o protocolo |
| GetNonNullHandle(INativeObject, String) |
Essa interface representa o protocolo |