IMTL4CommandEncoder 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此接口表示 Objective-C 协议 MTL4CommandEncoder。
[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
- 派生
- 特性
- 实现
注解
实现此接口(和子类 NSObject)的类将导出到 Objective-C,因为实现此接口所表示的 Objective-C 协议。
类还可以从此接口实现成员,以从协议实现成员。
属性
| 名称 | 说明 |
|---|---|
| CommandBuffer |
此接口表示 Objective-C 协议 |
| Handle |
处理(指针)到非托管对象表示形式。 (继承自 INativeObject) |
| Label |
此接口表示 Objective-C 协议 |
方法
| 名称 | 说明 |
|---|---|
| BarrierAfterEncoderStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
此接口表示 Objective-C 协议 |
| BarrierAfterQueueStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
此接口表示 Objective-C 协议 |
| BarrierAfterStages(MTLStages, MTLStages, MTL4VisibilityOptions) |
此接口表示 Objective-C 协议 |
| EndEncoding() |
此接口表示 Objective-C 协议 |
| InsertDebugSignpost(String) |
此接口表示 Objective-C 协议 |
| PopDebugGroup() |
此接口表示 Objective-C 协议 |
| PushDebugGroup(String) |
此接口表示 Objective-C 协议 |
| UpdateFence(IMTLFence, MTLStages) |
此接口表示 Objective-C 协议 |
| WaitForFence(IMTLFence, MTLStages) |
此接口表示 Objective-C 协议 |
扩展方法
| 名称 | 说明 |
|---|---|
| GetHandle(INativeObject) |
此接口表示 Objective-C 协议 |
| GetNonNullHandle(INativeObject, String) |
此接口表示 Objective-C 协议 |