Contents

mutability

A mutability option that determines whether you can update a buffer’s contents before related commands use the buffer.

Declaration

var mutability: MTLMutability { get set }

Discussion

The default value is MTLMutability.default.

If you don’t explicitly declare mutability, Metal uses the following default behaviors:

See Also

Setting buffer mutability