Contents

MTLResourceUsage

Options that describe how a graphics or compute function uses an argument buffer’s resource.

Declaration

struct MTLResourceUsage

Mentioned in

Overview

You can combine multiple MTLResourceUsage values with a bitwise OR (|) if the resource serves multiple purposes over its lifetime. You can enable options for certain resources that indicate whether the Metal driver needs to convert the resource to another format, such as whether it needs to decompress a color render target.

Topics

Initializers

Type Properties

See Also

Common resource functionality