編輯

共用方式為


MTLParallelRenderCommandEncoder_Extensions Class

Definition

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

public static class MTLParallelRenderCommandEncoder_Extensions
type MTLParallelRenderCommandEncoder_Extensions = class
Inheritance
MTLParallelRenderCommandEncoder_Extensions

Remarks

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

Methods

SetColorStoreAction(IMTLParallelRenderCommandEncoder, MTLStoreAction, nuint)
SetColorStoreActionOptions(IMTLParallelRenderCommandEncoder, MTLStoreActionOptions, nuint)

Sets the store action options on the color attachment at the specified index.

SetDepthStoreAction(IMTLParallelRenderCommandEncoder, MTLStoreAction)
SetDepthStoreActionOptions(IMTLParallelRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the depth attachment.

SetStencilStoreAction(IMTLParallelRenderCommandEncoder, MTLStoreAction)
SetStencilStoreActionOptions(IMTLParallelRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the stencil attachment.

Applies to