setStencilStoreAction(_:)
Configures the store action for the stencil attachment.
Declaration
func setStencilStoreAction(_ storeAction: MTLStoreAction)Parameters
- storeAction:
A store action for the stencil attachment that can’t be Unknown.
Discussion
This method changes the render command encoder’s store action for the stencil attachment. You can assign the default store action for the stencil attachment by configuring the storeAction property of its MTLRenderPassStencilAttachmentDescriptor (see MTLRenderPassDescriptor and its stencilAttachment property).