Instance Property

mutability

A mutability option that determines whether a buffer's contents can be modified.

Declaration

var mutability: MTLMutability { get set }

Discussion

The default value is MTLMutability.default.

If an explicit mutability option is not specified, the Metal driver assumes the following values:

See Also

Specifying Buffer Mutability

enum MTLMutability

The options that determine the mutability of a buffer's contents.