IMTL4CommandEncoder 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 MTL4CommandEncoderObjective-C .
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")]
public interface IMTL4CommandEncoder : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface IMTL4CommandEncoder : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface IMTL4CommandEncoder : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")>]
type IMTL4CommandEncoder = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type IMTL4CommandEncoder = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4CommandEncoder", WrapperType=typeof(Metal.MTL4CommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterQueueStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterQueueStages:beforeStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterStages:beforeQueueStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="BarrierAfterEncoderStages", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.MTLStages), typeof(Metal.MTLStages), typeof(Metal.MTL4VisibilityOptions) }, Selector="barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdateFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="updateFence:afterEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WaitForFence", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence), typeof(Metal.MTLStages) }, Selector="waitForFence:beforeEncoderStages:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="InsertDebugSignpost", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="insertDebugSignpost:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PushDebugGroup", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="pushDebugGroup:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PopDebugGroup", Selector="popDebugGroup")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EndEncoding", Selector="endEncoding")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(System.String), Selector="label", SetterSelector="setLabel:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="commandBuffer", IsProperty=true, IsRequired=true, IsStatic=false, Name="CommandBuffer", PropertyType=typeof(Metal.IMTL4CommandBuffer), Selector="commandBuffer")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type IMTL4CommandEncoder = interface
interface INativeObject
interface IDisposable
- Dérivé
- 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 |
| 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 |
| 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 |