MTLCommandBuffer_Extensions Class
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.
Extension methods to the IMTLCommandBuffer interface to support all the methods from the IMTLCommandBuffer protocol.
public static class MTLCommandBuffer_Extensions
type MTLCommandBuffer_Extensions = class
- Inheritance
-
MTLCommandBuffer_Extensions
Remarks
The extension methods for IMTLCommandBuffer allow developers to treat instances of the interface as having all the optional methods of the original IMTLCommandBuffer protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
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) |