Instance Property

mutability

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

Declaration

@property(nonatomic) MTLMutability mutability;

Discussion

The default value is MTLMutabilityDefault.

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

See Also

Specifying Buffer Mutability

MTLMutability

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