IMTL4MachineLearningCommandEncoder Interfaz
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Esta interfaz representa el 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
- Implementaciones
Comentarios
Una clase que implemente esta interfaz (y subclases NSObject) se exportará a Objective-C, ya que implementa el protocolo Objective-C que representa esta interfaz.
Una clase también puede implementar miembros de esta interfaz para implementar miembros del protocolo.
Propiedades
| Nombre | Description |
|---|---|
| CommandBuffer |
Esta interfaz representa el protocolo |
| Handle |
Controla (puntero) a la representación de objeto no administrada. (Heredado de INativeObject) |
| Label |
Esta interfaz representa el protocolo |
Métodos
| Nombre | Description |
|---|---|
| BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Esta interfaz representa el protocolo |
| BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Esta interfaz representa el protocolo |
| BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
Esta interfaz representa el protocolo |
| DispatchNetwork(IMTLHeap) |
Esta interfaz representa el protocolo |
| EndEncoding() |
Esta interfaz representa el protocolo |
| InsertDebugSignpost(String) |
Esta interfaz representa el protocolo |
| PopDebugGroup() |
Esta interfaz representa el protocolo |
| PushDebugGroup(String) |
Esta interfaz representa el protocolo |
| SetArgumentTable(IMTL4ArgumentTable) |
Esta interfaz representa el protocolo |
| SetPipelineState(IMTL4MachineLearningPipelineState) |
Esta interfaz representa el protocolo |
| UpdateFence(IMTLFence, MTLStages) |
Esta interfaz representa el protocolo |
| WaitForFence(IMTLFence, MTLStages) |
Esta interfaz representa el protocolo |
Métodos de extensión
| Nombre | Description |
|---|---|
| GetHandle(INativeObject) |
Esta interfaz representa el protocolo |
| GetNonNullHandle(INativeObject, String) |
Esta interfaz representa el protocolo |