MTLResourceUsage
Options that describe how a graphics or compute function uses an argument buffer’s resource.
Declaration
struct MTLResourceUsageMentioned 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.