Contents

writeMask

The color channels written to the output attachment.

Declaration

var writeMask: MTLColorWriteMask { get set }

Discussion

Defaults to .all. Set this to a subset of channels to write only specific components.

See Also

Configuring the pipeline