Enumeration

MTLMutability

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

Declaration

enum MTLMutability : UInt

Topics

Enumeration Cases

case `default`

Determines a default mutability option depending on the buffer type.

case mutable

The buffer's contents can be modified.

case immutable

The buffer's contents cannot be modified.

See Also

Specifying Buffer Mutability

var mutability: MTLMutability

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