編輯

共用方式為


MTLBlitCommandEncoder_Extensions Class

Definition

Extension methods to the IMTLBlitCommandEncoder interface to support all the methods from the IMTLBlitCommandEncoder protocol.

public static class MTLBlitCommandEncoder_Extensions
type MTLBlitCommandEncoder_Extensions = class
Inheritance
MTLBlitCommandEncoder_Extensions

Remarks

The extension methods for IMTLBlitCommandEncoder allow developers to treat instances of the interface as having all the optional methods of the original IMTLBlitCommandEncoder protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Copy(IMTLBlitCommandEncoder, IMTLIndirectCommandBuffer, NSRange, IMTLIndirectCommandBuffer, nuint)
CopyFromBuffer(IMTLBlitCommandEncoder, IMTLBuffer, nuint, nuint, nuint, MTLSize, IMTLTexture, nuint, nuint, MTLOrigin, MTLBlitOption)
CopyFromTexture(IMTLBlitCommandEncoder, IMTLTexture, nuint, nuint, MTLOrigin, MTLSize, IMTLBuffer, nuint, nuint, nuint, MTLBlitOption)
Optimize(IMTLBlitCommandEncoder, IMTLIndirectCommandBuffer, NSRange)
OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture, nuint, nuint)
OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture)
OptimizeContentsForGpuAccess(IMTLBlitCommandEncoder, IMTLTexture, nuint, nuint)
OptimizeContentsForGpuAccess(IMTLBlitCommandEncoder, IMTLTexture)
ResetCommands(IMTLBlitCommandEncoder, IMTLIndirectCommandBuffer, NSRange)
Update(IMTLBlitCommandEncoder, IMTLFence)

Captures GPU work that was enqueuedd by the encoder for the specified fence.

Wait(IMTLBlitCommandEncoder, IMTLFence)

Prevents additional GPU work by the encoder until the fence is reached.

Applies to