Instance Method

setDepthStoreAction:

Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given depth attachment.

Required.

Declaration

- (void)setDepthStoreAction:(MTLStoreAction)storeAction;

Parameters

storeAction

The desired store action for the depth attachment. This value must not be MTLStoreActionUnknown.

Discussion

If the store action for the given depth attachment was set to MTLStoreActionUnknown when the parallel render command encoder was created, you must call this method to specify another store action before you call the endEncoding method.

See Also

Setting Render Pass State

- setColorStoreAction:atIndex:

Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given color attachment.

Required.

- setColorStoreActionOptions:atIndex:

Specifies known store action options for a given color attachment.

Required.

- setDepthStoreActionOptions:

Specifies known store action options for a given depth attachment.

Required.

- setStencilStoreAction:

Specifies a known store action to replace the initial MTLStoreActionUnknown value specified for a given stencil attachment.

Required.

- setStencilStoreActionOptions:

Specifies known store action options for a given stencil attachment.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software