IMTLCommandBuffer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Protocol for commands that are run on a GPU
[Foundation.Protocol(Name="MTLCommandBuffer", WrapperType=typeof(Metal.MTLCommandBufferWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTLCommandBuffer : IDisposable, ObjCRuntime.INativeObject
type IMTLCommandBuffer = interface
interface INativeObject
interface IDisposable
- Attributes
- Implements
Properties
BlitCommandEncoder | |
CommandQueue | |
ComputeCommandEncoder | |
Device | |
Error | |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Label | |
RetainedReferences | |
Status |
Methods
Extension Methods
ComputeCommandEncoderDispatch(IMTLCommandBuffer, MTLDispatchType) | |
EncodeSignal(IMTLCommandBuffer, IMTLEvent, UInt64) | |
EncodeWait(IMTLCommandBuffer, IMTLEvent, UInt64) | |
GetGpuEndTime(IMTLCommandBuffer) |
Returns the time, in seconds, when the GPU stopped running the command buffer. |
GetGpuStartTime(IMTLCommandBuffer) |
Returns the time, in seconds, when the GPU started running the command buffer. |
GetKernelEndTime(IMTLCommandBuffer) |
Returns the time, in seconds, when the GPU finished scheduling the command buffer. |
GetKernelStartTime(IMTLCommandBuffer) |
Returns the time, in seconds, when the GPU started scheduling the command buffer. |
PopDebugGroup(IMTLCommandBuffer) | |
PresentDrawableAfter(IMTLCommandBuffer, IMTLDrawable, Double) |
Presents the specified |
PushDebugGroup(IMTLCommandBuffer, String) |