Contents

clearColor

The color to use when clearing the color attachment at the start of a render pass.

Declaration

var clearColor: MTLClearColor { get set }

Discussion

Corresponds to MTLRenderPassColorAttachmentDescriptor.clearColor.

See Also

Clearing and resolving